Ignore:
Timestamp:
Feb 1, 2011, 6:08:29 PM (10 years ago)
Author:
sam
Message:

Make Entity variable members private.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/entity.h

    r221 r328  
    3333
    3434    virtual char const *GetName();
     35    inline int IsDestroying() { return destroy; }
    3536
    3637    virtual void TickGame(float deltams);
    3738    virtual void TickDraw(float deltams);
    38 
    39     Entity *gamenext, *drawnext, *autonext;
    40     int ref, autorelease, destroy;
    4139
    4240    enum
     
    7674    state;
    7775#endif
     76
     77private:
     78    Entity *gamenext, *drawnext, *autonext;
     79    int ref, autorelease, destroy;
    7880};
    7981
Note: See TracChangeset for help on using the changeset viewer.