source: trunk/mrpigeon/redenemy.h @ 1310

Last change on this file since 1310 was 1310, checked in by sam, 9 years ago

core: tick methods now use seconds, like any sane system.

  • Property svn:keywords set to Id
File size: 549 bytes
Line 
1//
2// MrPigeon
3//
4// Copyright: (c) 2012 Various People
5//
6
7#if !defined __REDENEMY_H__
8#define __REDENEMY_H__
9
10#include "mrpigeon.h"
11#include "enemy.h"
12
13class RedEnemy : public Enemy
14{
15public:
16    RedEnemy(MrPigeon *game);
17    virtual ~RedEnemy();
18
19    char const *GetName() { return "<red enemy>"; }
20
21protected:
22    virtual void TickGame(float seconds);
23    virtual void TickDraw(float seconds);
24
25    TileSet *enemy_casualred,
26            *enemy_casualredjump,
27            *enemy_casualredfall;
28
29    float enemytime;
30};
31
32#endif // __REDENEMY_H__
33
Note: See TracBrowser for help on using the repository browser.