Ignore:
Timestamp:
Aug 14, 2010, 11:15:39 PM (11 years ago)
Author:
sam
Message:

Make the Game class an asset like the others.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/game.cpp

    r102 r106  
    5353}
    5454
    55 void Game::SetMouse(int x, int y)
     55Asset::Group Game::GetGroup()
    5656{
    57     data->mousex = x;
    58     data->mousey = y;
     57    return Asset::GetGroup();
    5958}
    6059
    61 void Game::Render()
     60void Game::TickGame(float delta_time)
    6261{
     62    Asset::TickGame(delta_time);
     63}
     64
     65void Game::TickRender(float delta_time)
     66{
     67    Asset::TickRender(delta_time);
     68
    6369    Scene *scene = new Scene();
    6470
     
    7379}
    7480
     81void Game::SetMouse(int x, int y)
     82{
     83    data->mousex = x;
     84    data->mousey = y;
     85}
     86
    7587void Game::Quit()
    7688{
Note: See TracChangeset for help on using the changeset viewer.