Add getters for old / new GRPx / ENABL registers.

This commit is contained in:
Christian Speckner 2017-04-24 23:47:06 +02:00
parent f51c6c983b
commit ea7792d57a
2 changed files with 6 additions and 0 deletions

View File

@ -71,6 +71,9 @@ class Ball : public Serializable
uInt8 getPosition() const;
void setPosition(uInt8 newPosition);
bool getENABLOld() const { return myIsEnabledOld; }
bool getENABLNew() const { return myIsEnabledNew; }
/**
Serializable methods (see that class for more information).
*/

View File

@ -75,6 +75,9 @@ class Player : public Serializable
uInt8 getPosition() const;
void setPosition(uInt8 newPosition);
uInt8 getGRPOld() const { return myPatternOld; };
uInt8 getGRPNew() const { return myPatternNew; };
/**
Serializable methods (see that class for more information).
*/