File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,23 @@ namespace PZ
49
49
50
50
const ImageAsset *GetImageAsset () const ;
51
51
52
- inline const Vector2f GetCenter () const
52
+ inline const Vector2f & GetCenter () const
53
53
{
54
54
return center;
55
55
}
56
56
inline void SetCenter (const Vector2f &newCenter)
57
57
{
58
58
center = newCenter;
59
59
}
60
+
61
+ inline const Color &GetColor () const
62
+ {
63
+ return color;
64
+ }
65
+ inline void SetColor (const Color &newColor)
66
+ {
67
+ color = newColor;
68
+ }
60
69
61
70
inline const Vector2f &GetRegionOffset () const
62
71
{
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ namespace PZ
33
33
34
34
class PropertyList
35
35
{
36
- friend class PropertyBase ;
36
+ friend class PropertyBase ; // For access to PropertyUpdated()
37
37
38
38
public:
39
39
PropertyList ();
You can’t perform that action at this time.
0 commit comments