Class colored_entity

Inheritance Relationships

Derived Types

Class Documentation

class colored_entity

A mixin class representing cell entities that have a static color.

Subclassed by cosm::arena::repr::base_cache, cosm::repr::block_metadata, cosm::repr::nest, cosm::repr::nest_light

Public Functions

colored_entity(const colored_entity &other) = default
inline explicit colored_entity(const rcppsw::utils::color &color)

Initialize an entity with a color.

virtual ~colored_entity(void) = default
inline const rcppsw::utils::color &color(void) const
colored_entity &operator=(const colored_entity &other) = default