More warning cleanup - converted certain class functions to return bool instead of int where appropriate. Also fixed the sdl update() tickCount assignment that I just broke in my last checkin.
This commit is contained in:
@@ -46,10 +46,14 @@ public:
|
||||
TargetChooser * getCurrentTargetChooser();
|
||||
void setCurrentWaitingAction(ActionElement * ae);
|
||||
MTGAbility * getAbility(int type);
|
||||
|
||||
//Removes from game but does not move the element to garbage. The caller must take care of deleting the element.
|
||||
int removeFromGame(ActionElement * e);
|
||||
int moveToGarbage(ActionElement * e);
|
||||
int cleanGarbage();
|
||||
|
||||
bool moveToGarbage(ActionElement * e);
|
||||
|
||||
void cleanGarbage();
|
||||
|
||||
protected:
|
||||
ActionElement * currentWaitingAction;
|
||||
int cantCancel;
|
||||
|
||||
Reference in New Issue
Block a user