Move all rendering code to client so that we can run the server in a remote server.
This is a better design because rather than the game logic/data code being mushed together with the rendering code, we now have separate rendering classes that query the game data and render.
Fixes
Fixes #147
Commits
[b9f4ef7] Move all rendering code to client
Create GameObjectRenderer owned by RenderingController which is
responsible for rendering game objects
Create DrawableGroup and DrawableMine which are the visual
representations of groups and mines. They are updated with the
group/mine properties at the draw step- Create GameObjectRenderer owned by RenderingController which is
responsible for rendering game objects
Create DrawableGroup and DrawableMine which are the visual
representations of groups and mines. They are updated with the
group/mine properties at the draw step
[f0b9523] DrawableGroup/Mine/Circle code cleanup
Create base class DrawableCircle for DrawableGroup/Mine that provides
setTexture/Shader methods
Description
Move all rendering code to client so that we can run the server in a remote server. This is a better design because rather than the game logic/data code being mushed together with the rendering code, we now have separate rendering classes that query the game data and render.
Fixes
Fixes #147
Commits
[b9f4ef7] Move all rendering code to client
[f0b9523] DrawableGroup/Mine/Circle code cleanup
[c013478] Minor fix