Finished lecture 82
Signed-off-by: Daniel Henry <iamdanhenry@gmail.com>
This commit is contained in:
20
LightYearsEngine/include/framework/Actor.h
Normal file
20
LightYearsEngine/include/framework/Actor.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
class World;
|
||||
|
||||
namespace ly {
|
||||
|
||||
class Actor {
|
||||
public:
|
||||
Actor(World *owningWorld);
|
||||
|
||||
void BeginPlayInternal();
|
||||
virtual void BeginPlay();
|
||||
virtual void Tick(float deltaTime);
|
||||
|
||||
private:
|
||||
World *mOwningWorld;
|
||||
bool mHasBeganPlay;
|
||||
};
|
||||
|
||||
} // namespace ly
|
||||
Reference in New Issue
Block a user