Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
PieceType Struct Reference

A struct containing information about a piece, including its name and information. More...

#include <piece_type.hpp>

Public Types

enum  LaunchType { ONE_BEFORE_ROSETTE , SAME_AS_LAUNCH_ROLL }
 The way a piece of some type can be launched.
 

Public Attributes

std::string mName
 The name of this type of piece, for display.
 
uint8_t mLaunchRoll
 The roll required in order to launch this type of piece.
 
LaunchType mLaunchType
 The type of launch action applicable to this piece.
 
uint8_t mCost
 The number of counters won or lost depending on whether or not this piece succeeds in landing on a rosette house.
 

Detailed Description

A struct containing information about a piece, including its name and information.


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