Namespace group4
Classes
Type | Name |
---|---|
class | SecondWorld |
Public Attributes
Type | Name |
---|---|
const std::string | COMBAT_SCRIPT = = "../assets/scripts/g4_agent_attack.ws" Filename for agent combat script. |
const std::string | FINAL_FLOOR_FILENAME = = "../assets/grids/third_floor.grid" Filename for the last floor grid file. |
const std::string | FIRST_FLOOR_FILENAME = = "../assets/grids/group4_maze.grid" Filename for the first floor grid file. |
const std::string | ITEM_PICKUP_SCRIPT = = "../assets/scripts/g4_item_pickup.ws" Filename for item pickup script. |
const size_t | MAX_INVENTORY_SIZE = = 30 Maximum inventory size for an agent. |
const cse491::GridPosition | OffGrid = = {-1, -1} Off the grid position. |
const std::string | SECOND_FLOOR_FILENAME = = "../assets/grids/second_floor.grid" Filename for the second floor grid file. |
const std::string | WORLD_LOAD_SCRIPT = = "../assets/scripts/g4_world_load.ws" Filename for world initialization script. |
const std::string | WORLD_LOAD_SCRIPT_2 = = "../assets/scripts/g4_world_2_load.ws" Filename for second floor initialization script. |
const std::string | WORLD_LOAD_SCRIPT_3 = = "../assets/scripts/g4_world_3_load.ws" Filename for final floor initialization script. |
Public Attributes Documentation
variable COMBAT_SCRIPT
Filename for agent combat script.
const std::string COMBAT_SCRIPT;
When an agent attempts to move into another agent, this attack script runs.
variable FINAL_FLOOR_FILENAME
const std::string FINAL_FLOOR_FILENAME;
variable FIRST_FLOOR_FILENAME
const std::string FIRST_FLOOR_FILENAME;
variable ITEM_PICKUP_SCRIPT
Filename for item pickup script.
const std::string ITEM_PICKUP_SCRIPT;
This script modifies properties of the agent collecting the item.
variable MAX_INVENTORY_SIZE
const size_t MAX_INVENTORY_SIZE;
variable OffGrid
const cse491::GridPosition OffGrid;
variable SECOND_FLOOR_FILENAME
const std::string SECOND_FLOOR_FILENAME;
variable WORLD_LOAD_SCRIPT
const std::string WORLD_LOAD_SCRIPT;
variable WORLD_LOAD_SCRIPT_2
const std::string WORLD_LOAD_SCRIPT_2;
variable WORLD_LOAD_SCRIPT_3
const std::string WORLD_LOAD_SCRIPT_3;
The documentation for this class was generated from the following file source/Worlds/SecondWorld.hpp