Skip to content

Entity Components Interface: IEntityComponent.hpp

Alanzote edited this page Dec 25, 2018 · 2 revisions

Each GameObject requires components to work. Components are what defines what the object is. A list of datamined components can be found on this enum. This interface is used as a superclass for each implemented component.

Methods

  • Serialize
    • Return Type: void
    • Input Types: RakNet::BitStream* factory, ReplicaTypes::PacketTypes packetType
    • Comment: Used to write required information about this component into a packet.
  • Update
    • Return Type: void
    • Comment: Updates the component.

Clone this wiki locally