Skip to content

Class cse491::TrashInterface

ClassList > cse491 > TrashInterface

Inherits the following classes: InterfaceBase

Public Functions

Type Name
bool Initialize () override
void Notify (const std::string & message, const std::string &="none") override
size_t SelectAction (const WorldGrid & grid, const type_options_t & type_options, const item_map_t & item_map, const agent_map_t & agent_map) override
TrashInterface (size_t id, const std::string & name)
~TrashInterface () = default

Protected Attributes

Type Name
bool wait_for_input = = true
Should we pause and wait for the user to hit a key?

Protected Functions

Type Name
void DrawGrid (const WorldGrid & grid, const type_options_t & type_options, const item_map_t & item_map, const agent_map_t & agent_map)

Public Functions Documentation

function Initialize

inline bool cse491::TrashInterface::Initialize () override

function Notify

inline void cse491::TrashInterface::Notify (
    const std::string & message,
    const std::string &="none"
) override

function SelectAction

inline size_t cse491::TrashInterface::SelectAction (
    const WorldGrid & grid,
    const type_options_t & type_options,
    const item_map_t & item_map,
    const agent_map_t & agent_map
) override

function TrashInterface

inline cse491::TrashInterface::TrashInterface (
    size_t id,
    const std::string & name
) 

function ~TrashInterface

cse491::TrashInterface::~TrashInterface () = default

Protected Attributes Documentation

variable wait_for_input

bool wait_for_input;

Protected Functions Documentation

function DrawGrid

inline void cse491::TrashInterface::DrawGrid (
    const WorldGrid & grid,
    const type_options_t & type_options,
    const item_map_t & item_map,
    const agent_map_t & agent_map
) 

The documentation for this class was generated from the following file source/Interfaces/TrashInterface.hpp