Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 16, 2006, 12:36:51 AM (19 years ago)
Author:
patrick
Message:

bsp: hit function reintroduced, now collision reaction should do better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/world_entities/world_entity.h

    r8508 r8511  
    6161  virtual void postSpawn ();
    6262  virtual void leaveWorld ();
    63   virtual void destroy() {};
    6463
    6564  virtual void tick (float time);
     
    9594  CollisionHandle* getCollisionHandle(CREngine::CRType type) const { return this->collisionHandles[type]; }
    9695
     96  virtual void hit(float damage);
     97  virtual void destroy() {};
     98
    9799
    98100  /* @returns the Count of Faces on this WorldEntity */
     
    113115  /** @returns a Reference to the Iterator */
    114116  ObjectManager::EntityList::iterator& getEntityIterator() { return this->objectListIterator; }
    115 
    116   /* --- Network Block --- */
    117   int       writeState(const byte* data, int length, int sender);
    118   int       readState(byte* data, int maxLength );
    119117
    120118  /* --- Character Attribute Block --- */
Note: See TracChangeset for help on using the changeset viewer.