Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/simulation2/components/ICmpAttack.h
Show All 15 Lines | |||||
*/ | */ | ||||
#ifndef INCLUDED_ICMPATTACK | #ifndef INCLUDED_ICMPATTACK | ||||
#define INCLUDED_ICMPATTACK | #define INCLUDED_ICMPATTACK | ||||
#include "ps/CStr.h" | #include "ps/CStr.h" | ||||
#include "simulation2/system/Interface.h" | #include "simulation2/system/Interface.h" | ||||
#include <vector> | |||||
class ICmpAttack : public IComponent | class ICmpAttack : public IComponent | ||||
{ | { | ||||
public: | public: | ||||
virtual float GetRepeatTime(const std::string& type) const = 0; | virtual float GetRepeatTime(const std::string& type) const = 0; | ||||
virtual std::vector<CStr> GetAttackTypes() const = 0; | virtual std::vector<CStr> GetAttackTypes() const = 0; | ||||
DECLARE_INTERFACE_TYPE(Attack) | DECLARE_INTERFACE_TYPE(Attack) | ||||
}; | }; | ||||
#endif // INCLUDED_ICMPATTACK | #endif // INCLUDED_ICMPATTACK |
Wildfire Games · Phabricator