Ignore:
Timestamp:
Apr 29, 2012, 11:55:32 PM (9 years ago)
Author:
sam
Message:

core: tick methods now use seconds, like any sane system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mrpigeon/enemy.cpp

    r1211 r1310  
    2727}
    2828
    29 void Enemy::TickGame(float deltams)
     29void Enemy::TickGame(float seconds)
    3030{
    31     WorldEntity::TickGame(deltams);
     31    WorldEntity::TickGame(seconds);
    3232
    33     deltams *= game->GetSpeed();
     33    seconds *= game->GetSpeed();
    3434}
    3535
    36 void Enemy::TickDraw(float deltams)
     36void Enemy::TickDraw(float seconds)
    3737{
    38     WorldEntity::TickDraw(deltams);
     38    WorldEntity::TickDraw(seconds);
    3939}
    4040
Note: See TracChangeset for help on using the changeset viewer.