HOG2
Public Member Functions | Public Attributes | List of all members
RacetrackMove Struct Reference

#include <Racetrack.h>

Public Member Functions

 RacetrackMove (int x=0, int y=0)
 

Public Attributes

int xDelta
 
int yDelta
 
bool hitGoal
 
int xGoal
 
int yGoal
 

Detailed Description

Definition at line 20 of file Racetrack.h.

Constructor & Destructor Documentation

◆ RacetrackMove()

RacetrackMove::RacetrackMove ( int  x = 0,
int  y = 0 
)
inline

Definition at line 21 of file Racetrack.h.

Member Data Documentation

◆ hitGoal

bool RacetrackMove::hitGoal

Definition at line 24 of file Racetrack.h.

Referenced by Racetrack::ApplyAction(), and Racetrack::Legal().

◆ xDelta

int RacetrackMove::xDelta

◆ xGoal

int RacetrackMove::xGoal

Definition at line 25 of file Racetrack.h.

Referenced by Racetrack::ApplyAction(), and Racetrack::Legal().

◆ yDelta

int RacetrackMove::yDelta

◆ yGoal

int RacetrackMove::yGoal

Definition at line 25 of file Racetrack.h.

Referenced by Racetrack::ApplyAction(), and Racetrack::Legal().


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