yey game work UwU
This commit is contained in:
parent
5796b5c582
commit
06a763b0fa
218 changed files with 164 additions and 35 deletions
|
|
@ -1 +1,5 @@
|
|||
#include <raylib/raylib.h>
|
||||
#pragma once
|
||||
|
||||
#ifndef DOS
|
||||
#include <raylib/raylib.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ public:
|
|||
scene *currentscene;
|
||||
int tickrate;
|
||||
int framerate;
|
||||
bool shouldclose=false;
|
||||
void changescene(scene*scn);
|
||||
program():client(false){}
|
||||
program(bool isclient):client(isclient){}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
virtual void tick()=0;
|
||||
virtual void draw()=0;
|
||||
virtual void exit()=0;
|
||||
virtual ~node()=0;
|
||||
};
|
||||
}
|
||||
struct group : public virtual enginend::nodes::node {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
namespace enginend {
|
||||
struct scene{
|
||||
virtual ~scene() = 0;
|
||||
|
||||
std::vector<enginend::nodes::node*> nodes;
|
||||
virtual void boot() {
|
||||
|
|
|
|||
2
engine/src/scenes/stuf.cpp
Normal file
2
engine/src/scenes/stuf.cpp
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#include "scene.h"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue