Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F623649
Goo.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
526 B
Referenced Files
None
Subscribers
None
Goo.h
View Options
//
// Created by Ido Mozes on 18/07/2019.
//
#ifndef SDL_GAME_GOO_H
#define SDL_GAME_GOO_H
#include
"../Component.h"
class
Goo
:
public
Component
{
public
:
int
kind
;
int
ttl
;
int
interval
;
int
timetoRecharge
;
bool
soak
;
int
damage
=
1
;
float
stickness
=
0.6
;
static
constexpr
ComponentType
type
=
ComponentType
::
GOO
;
Goo
(
int
kind
,
int
ttl
,
int
interval
=
60
,
bool
soak
=
false
)
:
kind
(
kind
),
ttl
(
ttl
),
timetoRecharge
(
interval
),
interval
(
interval
),
soak
(
soak
)
{}
};
#endif
//SDL_GAME_GOO_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 9:28 PM (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
137762
Default Alt Text
Goo.h (526 B)
Attached To
Mode
R74 BloonsTD
Attached
Detach File
Event Timeline