R-Type  1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
EnemyShooter Class Reference
Inheritance diagram for EnemyShooter:
[legend]
Collaboration diagram for EnemyShooter:
[legend]

Public Member Functions

 EnemyShooter (const std::string &uniqueName, uranus::ecs::component::Position pos, std::shared_ptr< engine::Texture > &texture)
 
void loop (size_t entity, float delta) override
 
- Public Member Functions inherited from Enemy
 Enemy (const std::string &uniqueName, uranus::ecs::component::Position pos, std::shared_ptr< engine::Texture > &texture)
 
void animationCallback (size_t entity, const std::string &animationName)
 
virtual void colliding (const size_t &entity, const size_t &entityCollidingWith)
 
void getDamage (size_t entity, int damage) override
 
virtual void loop (size_t, float delta)
 
- Public Member Functions inherited from engine::Base
 Base (const std::string &uniqueName)
 
size_t getEntityId ()
 
const std::string & getUniqueName ()
 
void setEntityId (size_t entityId)
 
void setUniqueName (const std::string &uniqueName)
 
virtual void getDamage (size_t entity, int damage)=0
 

Private Attributes

engine::Clock _movementClock
 
engine::Clock _shootClock
 

Additional Inherited Members

- Protected Attributes inherited from engine::Base
size_t _entityId
 
std::string _uniqueName
 
- Protected Attributes inherited from Damaging
int _health
 

Member Function Documentation

◆ loop()

void EnemyShooter::loop ( size_t  entity,
float  delta 
)
overridevirtual

Reimplemented from Enemy.


The documentation for this class was generated from the following files: