CRaPI - Correct Robust and Perfect API

Player Constructor (String, Boolean, Point2D)

Constructs a Player

public Player(
   string pTeamName,
   bool pIsGoalie,
   Point2D pStartPosition
);

Parameters

pTeamName
Name of team
pIsGoalie
If player is goalie or not
pStartPosition
What position the player will start on when the game beginns or after goals.

See Also

Player Class | TeamYaffa.CRaPI Namespace | Player Constructor Overload List