Space Fighter
A "shmup" game for Computer Programming C++
Loading...
Searching...
No Matches
IAttachment.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
20namespace KatanaEngine
21{
22
25 {
26
27 public:
28
29 virtual void AttachTo(IAttachable *pAttachable, Vector2 &position) = 0;
30
31 virtual void Update(const GameTime& gameTime) = 0;
32
33 virtual std::string GetKey() const = 0;
34
35 virtual std::string GetAttachmentType() const = 0;
36
37 };
38
39}
Contains timing values for game updates and rendering.
Definition GameTime.h:21
Interface for an object that can have items attached to it.
Definition IAttachable.h:27
Interface for a particle emitter.
Definition IAttachment.h:25
virtual std::string GetAttachmentType() const =0
virtual std::string GetKey() const =0
virtual void Update(const GameTime &gameTime)=0
virtual void AttachTo(IAttachable *pAttachable, Vector2 &position)=0
Defines a vector with 2 components (x and y).
Definition Vector2.h:21
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Definition Animation.cpp:18