Changeset 1946


Ignore:
Timestamp:
Sep 24, 2012, 8:43:57 AM (5 years ago)
Author:
sam
Message:

core: make Entity::GetName() a public method.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/entity.h

    r1888 r1946  
    3232    friend class Emcee;
    3333
     34public:
     35    virtual char const *GetName();
     36
    3437protected:
    3538    Entity();
    3639    virtual ~Entity();
    3740
    38     virtual char const *GetName();
    3941    inline int IsDestroying() { return m_destroy; }
    4042
  • trunk/src/worldentity.h

    r1376 r1946  
    2525{
    2626public:
     27    virtual char const *GetName();
     28
     29public:
    2730    vec3 m_position;
    2831    vec3 m_velocity;
     
    3942    virtual ~WorldEntity();
    4043
    41     virtual char const *GetName();
    42 
    4344    virtual void TickGame(float seconds);
    4445    virtual void TickDraw(float seconds);
Note: See TracChangeset for help on using the changeset viewer.