starting game planning
This commit is contained in:
20
src/Game.cpp
Normal file
20
src/Game.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "Game.h"
|
||||
#include <RmlUi/Core/Context.h>
|
||||
#include <iostream>
|
||||
#include <raylib.h>
|
||||
#include <RmlUi/Core.h>
|
||||
|
||||
void Game::Draw2D() {return;}
|
||||
|
||||
void Game::Update() {
|
||||
// TODO: Remove this debug
|
||||
std::cout << "Game update" << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
bool Game::Init(Rml::Context *context) {
|
||||
if (!ctx) return false;
|
||||
|
||||
ctx = context;
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user