Page MenuHomePhabricator (Chris)

Goo.h
No OneTemporary

Authored By
Unknown
Size
526 B
Referenced Files
None
Subscribers
None
//
// 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

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)

Event Timeline