Arcade Shooter
RotatingParticle.h
1 
2 /*
3  ██╗ ██╗ █████╗ ████████╗ █████╗ ███╗ ██╗ █████╗
4  ██║ ██╔╝ ██╔══██╗ ╚══██╔══╝ ██╔══██╗ ████╗ ██║ ██╔══██╗
5  █████╔╝ ███████║ ██║ ███████║ ██╔██╗ ██║ ███████║
6  ██╔═██╗ ██╔══██║ ██║ ██╔══██║ ██║╚██╗██║ ██╔══██║
7  ██║ ██╗ ██║ ██║ ██║ ██║ ██║ ██║ ╚████║ ██║ ██║
8  ╚═╝ ╚═╝ ╚═╝ ╚═╝/\ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝
9  /vvvvvvvvvvvvvvvvvvv \=========================================,
10  `^^^^^^^^^^^^^^^^^^^ /---------------------------------------"
11  Katana Engine \/ © 2012 - Shuriken Studios LLC */
12 
13 #pragma once
14 
15 namespace KatanaEngine
16 {
18  class RotatingParticle : public Particle
19  {
20 
21  public:
22 
23  virtual ~RotatingParticle() { }
24 
27  virtual void SetRotationVelocity(const float velocity) { m_rotationVelocity = velocity; }
28 
31  virtual float GetRotationVelocity() const { return m_rotationVelocity; }
32 
33 
34  private:
35 
36  float m_rotationVelocity;
37 
38  };
39 }
A particle instance that rotates.
Definition: RotatingParticle.h:18
virtual void SetRotationVelocity(const float velocity)
Sets the particle's rotational velocity.
Definition: RotatingParticle.h:27
virtual float GetRotationVelocity() const
Gets the rotational velocity of the particle.
Definition: RotatingParticle.h:31
A single component of a particle system.
Definition: Particle.h:19
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Definition: Animation.cpp:14