|
@@ -56,7 +56,7 @@ private:
|
|
|
Framework::RCArray<GrowthState> states;
|
|
|
int blockTypeIdAfterGrowth;
|
|
|
Framework::Text blockTypeNameAfterGrowth;
|
|
|
- const char* readableName;
|
|
|
+ Framework::Text readableName;
|
|
|
int ticksNeeded;
|
|
|
|
|
|
public:
|
|
@@ -81,8 +81,8 @@ public:
|
|
|
const Framework::RCArray<GrowthState>& getStates() const;
|
|
|
void setBlockTypeNameAfterGrowth(Framework::Text blockTypeIdAfterGrowth);
|
|
|
Framework::Text getBlockTypeNameAfterGrowth() const;
|
|
|
- void setReadableName(const char* readableName);
|
|
|
- const char* getReadableName() const;
|
|
|
+ void setReadableName(Framework::Text readableName);
|
|
|
+ Framework::Text getReadableName() const;
|
|
|
void setTicksNeeded(int ticksNeeded);
|
|
|
int getTicksNeeded() const;
|
|
|
void setTransparent(bool transparent);
|