- Timestamp:
- Dec 2, 2013, 3:53:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/modules/invader/InvaderEnemy.h
r9829 r9854 50 50 virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint); 51 51 virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator); 52 virtual void setPlayer(WeakPtr<InvaderShip> player){this->player = player;} 52 53 54 int level; 53 55 private: 54 56 WeakPtr<Invader> getGame(); 55 57 WeakPtr<Invader> game; 58 WeakPtr<InvaderShip> player; 56 59 Camera* camera; 57 60 bool isFireing; 58 61 float speed, damping; 59 62 float lastTimeFront, lastTimeLeft; 63 float lifetime; 60 64 struct Velocity 61 65 {
Note: See TracChangeset
for help on using the changeset viewer.