2D_Game_Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Entity Class Reference

#include <entity.hpp>

Public Member Functions

 Entity ()
 
 Entity (float x, float y)
 
 Entity (uint32_t uid)
 
 Entity (const Entity &other)
 
 Entity (Entity &&other)
 
Entityoperator= (const Entity &other)
 
Entityoperator= (Entity &&other)
 

Public Attributes

uint32_t m_UID
 
float m_X
 
float m_Y
 
float m_PreviousX
 
float m_PreviousY
 

Detailed Description

Definition at line 322 of file entity.hpp.

Constructor & Destructor Documentation

◆ Entity() [1/5]

Entity::Entity ( )

Definition at line 10 of file entity.cpp.

◆ Entity() [2/5]

Entity::Entity ( float x,
float y )

Definition at line 11 of file entity.cpp.

◆ Entity() [3/5]

Entity::Entity ( uint32_t uid)

Definition at line 12 of file entity.cpp.

◆ Entity() [4/5]

Entity::Entity ( const Entity & other)

Definition at line 14 of file entity.cpp.

◆ Entity() [5/5]

Entity::Entity ( Entity && other)

Definition at line 22 of file entity.cpp.

Member Function Documentation

◆ operator=() [1/2]

Entity & Entity::operator= ( const Entity & other)

Definition at line 30 of file entity.cpp.

◆ operator=() [2/2]

Entity & Entity::operator= ( Entity && other)

Definition at line 39 of file entity.cpp.

Member Data Documentation

◆ m_PreviousX

float Entity::m_PreviousX

Definition at line 334 of file entity.hpp.

◆ m_PreviousY

float Entity::m_PreviousY

Definition at line 334 of file entity.hpp.

◆ m_UID

uint32_t Entity::m_UID

Definition at line 332 of file entity.hpp.

◆ m_X

float Entity::m_X

Definition at line 333 of file entity.hpp.

◆ m_Y

float Entity::m_Y

Definition at line 333 of file entity.hpp.


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