blob: dfa5fe5f57850b59e858b0dc213a548f3d093343 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* game.cc
This file is part of the Osirion project
*/
// project headers
#include "ship.h"
#include "star.h"
namespace game {
Ship ship;
Star star;
bool initialized = false;
void init()
{
star.location = Vector3f(256.0f, 0.0f, 256.0f);
initialized = true;
}
void shutdown()
{
initialized = false;
}
void update(float elapsed)
{
ship.update(elapsed);
}
}; // namespace game
|