Finish lecture 82: Implement the World class
Signed-off-by: Daniel Henry <iamdanhenry@gmail.com>
This commit is contained in:
21
LightYearsEngine/include/framework/World.h
Normal file
21
LightYearsEngine/include/framework/World.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
namespace ly {
|
||||
class Application;
|
||||
|
||||
class World {
|
||||
public:
|
||||
World(Application *owningApp);
|
||||
|
||||
void BeginPlayInternal();
|
||||
void TickInternal(float deltaTime);
|
||||
|
||||
virtual ~World();
|
||||
|
||||
private:
|
||||
void BeginPlay();
|
||||
void Tick(float deltaTime);
|
||||
Application* mOwningApp;
|
||||
bool mBeganPlay;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user