Building Game Engines
include
Component.hpp
Go to the documentation of this file.
1
#ifndef COMPONENT_HPP
2
#define COMPONENT_HPP
3
4
#include <SDL2/SDL.h>
5
#include <utility>
6
10
class
Component
{
11
public
:
15
Component
();
16
20
virtual
~Component
() = 0;
21
25
virtual
void
Update
() = 0;
26
32
virtual
void
Render
(SDL_Renderer* renderer) = 0;
33
};
34
35
#endif
Component::Component
Component()
Definition:
Component.cpp:3
Component::Update
virtual void Update()=0
Component
Definition:
Component.hpp:10
Component::Render
virtual void Render(SDL_Renderer *renderer)=0
Component::~Component
virtual ~Component()=0
Definition:
Component.cpp:5
Generated by
1.8.13