Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2194 in orxonox.OLD for orxonox/branches/chris/src/world_entity.h


Ignore:
Timestamp:
Jul 18, 2004, 12:03:57 PM (21 years ago)
Author:
chris
Message:

orxonox/branches/chris: Implemented is_a() query for WorldEntities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/src/world_entity.h

    r2192 r2194  
    2525
    2626        bool isFree ();
     27
     28        static bool is_a(char* name);
    2729       
    2830  //void addAbility(Ability* ability);
     
    3537  virtual void collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags);
    3638        virtual void command (Command* cmd);
    37  
     39   
    3840  virtual void draw ();
    3941  virtual void get_lookat (Location* locbuf);
    4042
    4143        virtual void left_world ();
    42 
     44       
    4345 private:
     46        static bool is_none (char* name);       
     47        static bool (*basefunc)(char*);
     48        static char *is;
     49 
    4450  const bool bFree;     
    4551  bool bCollide;
Note: See TracChangeset for help on using the changeset viewer.