diff options
Diffstat (limited to 'src/actor.h')
-rw-r--r-- | src/actor.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/actor.h b/src/actor.h index 240b5097..e2c32a94 100644 --- a/src/actor.h +++ b/src/actor.h @@ -89,10 +89,17 @@ public: /** * Returns the pixel Y coordinate that the actor should be drawn at. */ - virtual int getDrawPixelY() const + virtual int getDrawOrder() const { return getPixelY(); } /** + * Determines wether the actor should be drawn translucent when behind + * another object + */ + virtual bool drawnWhenBehind() const + { return false; } + + /** * Returns the x coordinate in tiles of the actor. */ virtual int getTileX() const; |