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

Public Member Functions

 BulletEnemy (const std::string &uniqueName, uranus::ecs::component::Position pos, std::shared_ptr< engine::Texture > &texture)
 
void move (size_t entity, float delta) override
 
- Public Member Functions inherited from Bullet
 Bullet (const std::string &uniqueName, uranus::ecs::component::Position pos, std::shared_ptr< engine::Texture > &texture, std::uint32_t networkId=0, bool owned=false)
 
void colliding (const size_t &entity, const size_t &entityCollidingWith)
 
void handleKeyboard (size_t entity, const engine::Event event)
 
bool isCanMove () const
 
void loop (const size_t, float delta)
 
virtual void move (size_t entity, float delta)
 
void setCanMove (bool move)
 
- 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)
 

Additional Inherited Members

- Protected Attributes inherited from Bullet
bool canMove
 
bool networked
 
std::uint32_t networkId
 
bool sent
 
- Protected Attributes inherited from engine::Base
size_t _entityId
 
std::string _uniqueName
 

Member Function Documentation

◆ move()

void BulletEnemy::move ( size_t  entity,
float  delta 
)
overridevirtual

Reimplemented from Bullet.


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