windmill-gint/src/game.cpp

24 lines
554 B
C++
Raw Permalink Normal View History

2021-06-18 11:48:50 +02:00
#include "game.hpp"
extern Map map_exemple;
extern Map map_moulin;
2021-06-18 11:48:50 +02:00
//-----------------------------------------------------------------------------
// GAME
//-----------------------------------------------------------------------------
Game::Game()
{
time_game = 0;
}
//-----------------------------------------------------------------------------
// NEW_GAME
//-----------------------------------------------------------------------------
void Game::new_game()
{
// pour exemple
2023-01-08 11:32:40 +01:00
map = &map_exemple;
2023-01-02 14:53:30 +01:00
player.teleport(160,0,player.height,180,10);
2021-06-18 11:48:50 +02:00
}