Class E_Default

Inheritance Relationships

Base Type

Class Documentation

class E_Default : public Dem::IEntity

Public Functions

inline virtual bool Init(Dem::Demeter &d) override
inline virtual bool Update(Dem::Demeter &d) override

Updates the state of the entity.

This pure virtual function must be implemented by derived classes to handle the update of the entity’s state based on the current state of the Demeter instance.

Parameters:

d – Reference to the Demeter instance providing context for the update.

Returns:

true if the update was successful, false otherwise.

inline virtual bool Draw(Dem::Demeter &d) override

Draws the entity using the provided Demeter context.

This pure virtual function must be implemented by derived classes to handle the rendering or visualization of the entity within the given Demeter instance.

Parameters:

d – Reference to a Demeter object used for drawing operations.

Returns:

true if the drawing operation was successful, false otherwise.