123 |
virtual void dispose()=0; |
virtual void dispose()=0; |
124 |
|
|
125 |
virtual const ObjectTraits *get_traits() const { return 0; } |
virtual const ObjectTraits *get_traits() const { return 0; } |
126 |
|
virtual void log(const char *format, ...) const; |
127 |
private: |
private: |
128 |
typedef px::AssocList<std::string, Value> AttribMap; |
typedef px::AssocList<std::string, Value> AttribMap; |
129 |
AttribMap attribs; |
AttribMap attribs; |
130 |
}; |
}; |
131 |
} |
} |
132 |
|
|
156 |
GridPos get_pos() const { return pos; } |
GridPos get_pos() const { return pos; } |
157 |
void play_sound(const char *name); |
void play_sound(const char *name); |
158 |
|
|
159 |
|
void log(const char *format, ...) const; |
160 |
|
|
161 |
private: |
private: |
162 |
// ModelCallback interface. |
// ModelCallback interface. |
163 |
void animcb() {} |
void animcb() {} |