18 lines
458 B
C#
18 lines
458 B
C#
|
namespace I2.Loc
|
|||
|
{
|
|||
|
|
|||
|
public class GlobalParametersExample : RegisterGlobalParameters
|
|||
|
{
|
|||
|
public override string GetParameterValue( string ParamName )
|
|||
|
{
|
|||
|
if (ParamName == "WINNER")
|
|||
|
return "Javier"; // For your game, get this value from your Game Manager
|
|||
|
|
|||
|
if (ParamName == "NUM PLAYERS")
|
|||
|
return 5.ToString();
|
|||
|
|
|||
|
return null;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|