Ignore:
Timestamp:
Sep 13, 2010, 1:24:54 AM (10 years ago)
Author:
sam
Message:

Allow for different priorities in game and draw tick levels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/entity.cpp

    r170 r210  
    1818
    1919Entity::Entity() :
    20     next(0),
     20    gamenext(0),
     21    drawnext(0),
    2122    ref(0),
    2223    destroy(0)
     
    2526    state = STATE_IDLE;
    2627#endif
     28    gamegroup = GAMEGROUP_DEFAULT;
     29    drawgroup = DRAWGROUP_DEFAULT;
    2730    Ticker::Register(this);
    2831}
     
    3942{
    4043    return "<entity>";
    41 }
    42 
    43 Entity::Group Entity::GetGroup()
    44 {
    45     return GROUP_DEFAULT;
    4644}
    4745
Note: See TracChangeset for help on using the changeset viewer.