C# Class ClourWars.Game.Controllers.GameController

Inheritance: Controller
Show file Open project: pedro-ramirez-suarez/cloudwarsgame

Public Methods

Method Description
Play ( System.Guid matchId ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AcceptChallenge ( System.Guid challengeId ) : Needletail.Mvc.TwoWayResult
ChallengePlayer ( System.Guid playerId ) : Needletail.Mvc.TwoWayResult
GetAllPlayers ( ) : System.Web.Mvc.ActionResult
GetNearByPlayers ( ) : System.Web.Mvc.ActionResult
Initialize ( string liveId, string latitude, string longitude ) : void
InvitePlayer ( System.Guid matchId, string clientId ) : Needletail.Mvc.TwoWayResult
MyChallenges ( ) : System.Web.Mvc.ActionResult
MyMatches ( ) : System.Web.Mvc.ActionResult
OnlinePlayers ( ) : System.Web.Mvc.ActionResult
PlayMatch ( System.Guid matchId ) : Needletail.Mvc.TwoWayResult
PlayerAttack ( System.Guid matchId, System.Guid playerId, int row, int col ) : void
PlayerChat ( string message, string clientId ) : Needletail.Mvc.TwoWayResult
PlayerMoveTo ( System.Guid matchId, string unitId, int row, int col ) : void
PlayerReady ( System.Guid matchId, System.Guid playerId ) : void
RejectChallenge ( System.Guid challengeId ) : Needletail.Mvc.TwoWayResult

Method Details

Play() public method

public Play ( System.Guid matchId ) : System.Web.Mvc.ActionResult
matchId System.Guid
return System.Web.Mvc.ActionResult