VEGO-Engine
0.1
Loading...
Searching...
No Matches
Component.h
1
#pragma once
2
3
class
Entity
;
4
5
class
Component
6
{
7
public
:
8
Entity
* entity;
9
10
virtual
void
init() {}
11
virtual
void
update() {}
12
virtual
void
draw() {}
13
14
virtual
~Component
() =
default
;
15
};
Component
Definition
Component.h:6
Entity
Main class for any object in game, stores associations, labeling and components.
Definition
Entity.h:29
include
Component.h
Generated by
1.11.0