Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F135225
Component.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
855 B
Referenced Files
None
Subscribers
None
Component.h
View Options
//
// Created by Ido Mozes on 20/06/2019.
//
#ifndef SDL2_GAME_COMPONENT_H
#define SDL2_GAME_COMPONENT_H
#include
<memory>
struct
Point
{
float
X
;
float
Y
;
};
class
Entity
;
typedef
std
::
shared_ptr
<
Entity
>
EntityP
;
enum
ComponentType
{
VISIBILITY
,
POSITION
,
VELOCITY
,
SPEED
,
ATTACK_SPEED
,
ACCELERATION
,
PATH_INDEX
,
LIVES
,
KIND
,
SHOT_KIND
,
TYPE
,
RANGE
,
DAMAGE
,
PIERCE
,
SPREAD
,
DISTANCE
,
SEQUENCE
,
ACTION
,
DRAGGABLE
,
RANGE_SHADOW
,
STRATEGY
,
REGROW
,
CAMO
,
FORTIFIED
,
GLUE
,
GUM
,
CORROSIVE
,
COST
,
VALUE
,
POPPED_BLOONS
,
MOVE_ENTITY_EVENT
,
REMOVE_ENTITY_EVENT
,
DAMAGE_EVENT
,
LENGTH
};
class
Component
{
public
:
Component
()
=
default
;
virtual
~
Component
()
=
default
;
};
#endif
//SDL2_GAME_COMPONENT_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Jun 25, 11:28 PM (3 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
73044
Default Alt Text
Component.h (855 B)
Attached To
Mode
R74 BloonsTD
Attached
Detach File
Event Timeline