Level loading to file format is now possible.
This commit is contained in:
parent
6c16121c11
commit
b4e2765f23
@ -6,6 +6,10 @@ using namespace olc;
|
||||
extern FaceBall* game;
|
||||
|
||||
void Editor::Update(float fElapsedTime){
|
||||
LoadLevelHandling();
|
||||
}
|
||||
|
||||
void Editor::LoadLevelHandling() {
|
||||
if (!game->IsTextEntryEnabled()) {
|
||||
if (game->GetKey(F1).bPressed || reEnableTextEntry) {
|
||||
game->TextEntryEnable(true);
|
||||
|
||||
@ -52,4 +52,5 @@ class Editor {
|
||||
void Update(float fElapsedTime);
|
||||
void OnTextEntryComplete(const std::string& sText);
|
||||
void LoadLevel();
|
||||
void LoadLevelHandling();
|
||||
};
|
||||
@ -0,0 +1,6 @@
|
||||
2
|
||||
2
|
||||
41126
|
||||
41126
|
||||
41126
|
||||
41126
|
||||
Loading…
x
Reference in New Issue
Block a user