示例#1
0
 public RuleEntry(TileSpawnType _spawnType, TileColorType _spawnColor, ColorSelectionMethod _colorSelection, bool _randomColor)
 {
     spawnType      = _spawnType;
     spawnColor     = _spawnColor;
     colorSelection = _colorSelection;
     randomColor    = _randomColor;
 }
示例#2
0
    /// <summary>
    /// Initializes a new instance of the <see cref="RuleEntry"/> class.
    //  The color of the newly spawned tile will be randomly selected from the available colors.
    /// </summary>
    /// </param>
    public RuleEntry(TileSpawnType _spawnType)
    {
        spawnType = _spawnType;
//		spawnTileType = cachedTypeList[(int)spawnType];
    }
示例#3
0
    public RuleEntry()
    {
        colorSelection = ColorSelectionMethod.Generic;
        spawnType      = TileSpawnType.NormalTile;
//		spawnTileType = cachedTypeList[(int)spawnType];
    }
示例#4
0
	/// <summary>
	/// Initializes a new instance of the <see cref="RuleEntry"/> class.
	//  The color of the newly spawned tile will be randomly selected from the available colors.
	/// </summary>
	/// </param>
	public RuleEntry(TileSpawnType _spawnType)
	{ 
		spawnType = _spawnType;
//		spawnTileType = cachedTypeList[(int)spawnType];
	}
示例#5
0
	public RuleEntry() 
	{
		colorSelection = ColorSelectionMethod.Generic;
		spawnType = TileSpawnType.NormalTile;
//		spawnTileType = cachedTypeList[(int)spawnType];
	}
示例#6
0
	public RuleEntry(TileSpawnType _spawnType, TileColorType _spawnColor, ColorSelectionMethod _colorSelection, bool _randomColor)
	{
		spawnType = _spawnType;
		spawnColor = _spawnColor;
		colorSelection = _colorSelection;
		randomColor = _randomColor;
	}