Virtual and constant

This commit is contained in:
Josh Allen
2005-09-25 18:47:24 +00:00
parent f78cee8988
commit 4440d57ef6
+2 -2
View File
@@ -32,7 +32,7 @@ public:
void TweenOnScreen() { TweenOnScreen(false); }
void TweenOffScreen() { TweenOffScreen(false); }
void Move(int n);
virtual void Move(int n);
void ChangeMusicUnlessLocked( int n ); /* +1 or -1 */
virtual void ChangeMusic(int dist); /* +1 or -1 */
@@ -50,7 +50,7 @@ public:
void AddItem( WheelItemBaseData* itemdata );
virtual void RemoveItem( int index );
virtual inline unsigned int GetNumItems() { return m_WheelBaseItemsData.size(); }
virtual inline unsigned int GetNumItems() const { return m_WheelBaseItemsData.size(); }
inline bool IsEmpty() { return m_isEmpty; }
WheelItemBaseData* GetItem(unsigned int index);
WheelItemBaseData* LastSelected();