robot_api::AttackNotice Struct Reference

#include <robot_api.hpp>

Collaboration diagram for robot_api::AttackNotice:

Public Attributes

GridCell origin
 
AttackType form
 
int damage
 

Detailed Description

struct representing information about a particular attack or attempted attack you suffered the previous round.

Definition at line 127 of file robot_api.hpp.

Member Data Documentation

int robot_api::AttackNotice::damage

Amount of damage suffered from attack (0 means attack failed)

Definition at line 136 of file robot_api.hpp.

AttackType robot_api::AttackNotice::form

Form of the attack.

Definition at line 133 of file robot_api.hpp.

GridCell robot_api::AttackNotice::origin

Cell from which the attack originated.

Definition at line 130 of file robot_api.hpp.


The documentation for this struct was generated from the following file: