Space Fighter
A "shmup" game for Computer Programming C++
Loading...
Searching...
No Matches
ParticleUpdater.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
19namespace KatanaEngine
20{
21
24 {
25 public:
26
29 virtual ~ParticleUpdater() { }
30
34 virtual void Update(IParticle* pParticle, const GameTime& gameTime) const
35 {
36 pParticle->Update(gameTime);
37 }
38
39 };
40
41}
Contains timing values for game updates and rendering.
Definition GameTime.h:21
Interface for a particle.
Definition IParticle.h:24
virtual void Update(const GameTime &gameTime)=0
Interface for a particle updater.
Basic particle updater.
virtual void Update(IParticle *pParticle, const GameTime &gameTime) const
Updates a particle.
ParticleUpdater()
Creates a new instance of ParticleUpdater.
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Definition Animation.cpp:18