C# Class MatchConfig, Advanced-Game-Project

This class stores settings related to the physics and gameplay in a game match.
This class includes the maximum number of players, constants for gravity and bullet speed, reload rate, maximum health, acceleration and rotation rate of ships and other constants that are set when the game initializes. In later revisions of the game, these constants could be made to change based upon the map file. Presently they are static values.
Mostra file Open project: pmyoung/Advanced-Game-Project Class Usage Examples

Public Properties

Property Type Description
accelerationRate double
brakeRate double
bulletSpeed int
gravityConstant float
mapHeight int
mapWidth int
maxHealth int
maxPlayers int
reloadRate int
rotationRate int

Property Details

accelerationRate public_oe static_oe property

public static double accelerationRate
return double

brakeRate public_oe static_oe property

public static double brakeRate
return double

bulletSpeed public_oe static_oe property

public static int bulletSpeed
return int

gravityConstant public_oe static_oe property

public static float gravityConstant
return float

mapHeight public_oe static_oe property

public static int mapHeight
return int

mapWidth public_oe static_oe property

public static int mapWidth
return int

maxHealth public_oe static_oe property

public static int maxHealth
return int

maxPlayers public_oe static_oe property

public static int maxPlayers
return int

reloadRate public_oe static_oe property

public static int reloadRate
return int

rotationRate public_oe static_oe property

public static int rotationRate
return int