C# 클래스 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.
파일 보기 프로젝트 열기: pmyoung/Advanced-Game-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
accelerationRate double
brakeRate double
bulletSpeed int
gravityConstant float
mapHeight int
mapWidth int
maxHealth int
maxPlayers int
reloadRate int
rotationRate int

프로퍼티 상세

accelerationRate 공개적으로 정적으로 프로퍼티

public static double accelerationRate
리턴 double

brakeRate 공개적으로 정적으로 프로퍼티

public static double brakeRate
리턴 double

bulletSpeed 공개적으로 정적으로 프로퍼티

public static int bulletSpeed
리턴 int

gravityConstant 공개적으로 정적으로 프로퍼티

public static float gravityConstant
리턴 float

mapHeight 공개적으로 정적으로 프로퍼티

public static int mapHeight
리턴 int

mapWidth 공개적으로 정적으로 프로퍼티

public static int mapWidth
리턴 int

maxHealth 공개적으로 정적으로 프로퍼티

public static int maxHealth
리턴 int

maxPlayers 공개적으로 정적으로 프로퍼티

public static int maxPlayers
리턴 int

reloadRate 공개적으로 정적으로 프로퍼티

public static int reloadRate
리턴 int

rotationRate 공개적으로 정적으로 프로퍼티

public static int rotationRate
리턴 int