windmill-gint/src/game.cpp

24 lines
554 B
C++

#include "game.hpp"
extern Map map_exemple;
extern Map map_moulin;
//-----------------------------------------------------------------------------
// GAME
//-----------------------------------------------------------------------------
Game::Game()
{
time_game = 0;
}
//-----------------------------------------------------------------------------
// NEW_GAME
//-----------------------------------------------------------------------------
void Game::new_game()
{
// pour exemple
map = &map_exemple;
player.teleport(160,0,player.height,180,10);
}