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

Public Member Functions

 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)
 

Protected Attributes

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

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