C# Class ArmedCards.BusinessLogic.Repositories.Game.Leave

Implementation of Base.ILeave
Inheritance: Base.ILeave
Mostra file Open project: kwmcrell/ArmedCards

Public Methods

Method Description
Execute ( Int32 gameID, Entities user, Entities playerType ) : void

Removes a player from the game

Leave ( GamePlayer deleteGamePlayer ) : System

Method Details

Execute() public method

Removes a player from the game
public Execute ( Int32 gameID, Entities user, Entities playerType ) : void
gameID System.Int32 The ID of the game to leave
user Entities The user leaving the game
playerType Entities Type of player leaving
return void

Leave() public method

public Leave ( GamePlayer deleteGamePlayer ) : System
deleteGamePlayer GamePlayer
return System