Space Fighter
A "shmup" game for Computer Programming C++
Loading...
Searching...
No Matches
IParticle.h
Go to the documentation of this file.
1
2
/*
3
██╗ ██╗ █████╗ ████████╗ █████╗ ███╗ ██╗ █████╗
4
██║ ██╔╝ ██╔══██╗ ╚══██╔══╝ ██╔══██╗ ████╗ ██║ ██╔══██╗
5
█████╔╝ ███████║ ██║ ███████║ ██╔██╗ ██║ ███████║
6
██╔═██╗ ██╔══██║ ██║ ██╔══██║ ██║╚██╗██║ ██╔══██║
7
██║ ██╗ ██║ ██║ ██║ ██║ ██║ ██║ ╚████║ ██║ ██║
8
╚═╝ ╚═╝ ╚═╝ ╚═╝/\ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝
9
/vvvvvvvvvvvvvvvvvvv \=========================================,
10
`^^^^^^^^^^^^^^^^^^^ /---------------------------------------"
11
Katana Engine \/ © 2012 - Shuriken Studios LLC
12
http://www.shurikenstudios.com
13
*/
14
15
#pragma once
16
17
#include "
KatanaEngine.h
"
18
19
namespace
KatanaEngine
20
{
21
23
class
IParticle
24
{
25
26
public
:
27
28
virtual
bool
IsActive
()
const
= 0;
29
30
virtual
void
Initialize
(
Vector2
& position) = 0;
31
32
virtual
void
Update
(
const
GameTime
& gameTime) = 0;
33
34
};
35
36
}
KatanaEngine.h
KatanaEngine::GameTime
Contains timing values for game updates and rendering.
Definition
GameTime.h:21
KatanaEngine::IParticle
Interface for a particle.
Definition
IParticle.h:24
KatanaEngine::IParticle::Update
virtual void Update(const GameTime &gameTime)=0
KatanaEngine::IParticle::IsActive
virtual bool IsActive() const =0
KatanaEngine::IParticle::Initialize
virtual void Initialize(Vector2 &position)=0
KatanaEngine::Vector2
Defines a vector with 2 components (x and y).
Definition
Vector2.h:21
KatanaEngine
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Definition
Animation.cpp:18
doxy_src
KatanaEngine
IParticle.h
Generated by
1.11.0