|
1 | 1 | using GeometryDashAPI.Levels.Enums;
|
2 | 2 |
|
3 |
| -namespace GeometryDashAPI.Levels.GameObjects |
| 3 | +namespace GeometryDashAPI.Levels.GameObjects; |
| 4 | + |
| 5 | +public interface IBlock : IGameObject |
4 | 6 | {
|
5 |
| - public interface IBlock : IGameObject |
6 |
| - { |
7 |
| - int Id { get; set; } |
8 |
| - float PositionX { get; set; } |
9 |
| - float PositionY { get; set; } |
10 |
| - bool HorizontalReflection { get; set; } |
11 |
| - bool VerticalReflection { get; set; } |
12 |
| - int Rotation { get; set; } |
13 |
| - bool Glow { get; set; } |
14 |
| - int LinkControl { get; set; } |
15 |
| - short EditorL { get; set; } |
16 |
| - short EditorL2 { get; set; } |
17 |
| - bool HighDetail { get; set; } |
18 |
| - int[] Groups { get; set; } |
19 |
| - bool DontFade { get; set; } |
20 |
| - bool DontEnter { get; set; } |
21 |
| - int ZOrder { get; set; } |
22 |
| - Layer ZLayer { get; set; } |
23 |
| - float Scale { get; set; } |
24 |
| - bool GroupParent { get; set; } |
25 |
| - bool IsTrigger { get; set; } |
26 |
| - } |
| 7 | + int Id { get; set; } |
| 8 | + float PositionX { get; set; } |
| 9 | + float PositionY { get; set; } |
| 10 | + bool HorizontalReflection { get; set; } |
| 11 | + bool VerticalReflection { get; set; } |
| 12 | + int Rotation { get; set; } |
| 13 | + bool Glow { get; set; } |
| 14 | + int LinkControl { get; set; } |
| 15 | + short EditorL { get; set; } |
| 16 | + short EditorL2 { get; set; } |
| 17 | + bool HighDetail { get; set; } |
| 18 | + int[] Groups { get; set; } |
| 19 | + bool DontFade { get; set; } |
| 20 | + bool DontEnter { get; set; } |
| 21 | + int ZOrder { get; set; } |
| 22 | + Layer ZLayer { get; set; } |
| 23 | + float Scale { get; set; } |
| 24 | + bool GroupParent { get; set; } |
| 25 | + bool IsTrigger { get; set; } |
| 26 | + |
| 27 | + bool HasHsv { get; } |
| 28 | + bool HasAdditionalHsv { get; } |
| 29 | + |
| 30 | + /// <summary> |
| 31 | + /// If block has 1 color: <b>base</b> or <b>detail</b><br/> |
| 32 | + /// The <see cref="Hsv"/> value takes either <b>base</b> or <b>detail</b><br/><br/> |
| 33 | + /// If block has 2 colors, <see cref="Hsv"/> is <b>base</b> |
| 34 | + /// </summary> |
| 35 | + Hsv? Hsv { get; set; } |
| 36 | + |
| 37 | + /// <summary> |
| 38 | + /// If block has 2 colors: <b>base</b> and <b>detail</b><br/> |
| 39 | + /// <see cref="AdditionalHsv"/> is detail, otherwise null |
| 40 | + /// </summary> |
| 41 | + Hsv? AdditionalHsv { get; set; } |
27 | 42 | }
|
0 commit comments