This commit is contained in:
parent
6f1def2d0a
commit
e59981cf94
18 changed files with 139 additions and 87 deletions
|
@ -14,8 +14,8 @@ public:
|
|||
void init(DVECTOR const &Pos);
|
||||
void think(int _frames);
|
||||
void render();
|
||||
virtual int canCollide() {return true;}
|
||||
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
/*virtual */int canCollide() {return true;}
|
||||
/*virtual */int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
|
||||
void setOffset(DVECTOR &Pos);
|
||||
void setTarget(DVECTOR &Pos);
|
||||
|
@ -23,7 +23,7 @@ virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
|||
void setRGB(u8 r,u8 g,u8 b) {R=r; G=g; B=g;}
|
||||
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
/*virtual */void collidedWith(CThing *_thisThing);
|
||||
DVECTOR Offset,Target;
|
||||
u8 R,G,B;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue