Esempio n. 1
0
 public RuleEntry(TileSpawnType _spawnType, TileColorType _spawnColor, ColorSelectionMethod _colorSelection, bool _randomColor)
 {
     spawnType      = _spawnType;
     spawnColor     = _spawnColor;
     colorSelection = _colorSelection;
     randomColor    = _randomColor;
 }
Esempio n. 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];
    }
Esempio n. 3
0
    public RuleEntry()
    {
        colorSelection = ColorSelectionMethod.Generic;
        spawnType      = TileSpawnType.NormalTile;
//		spawnTileType = cachedTypeList[(int)spawnType];
    }
Esempio n. 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];
	}
Esempio n. 5
0
	public RuleEntry() 
	{
		colorSelection = ColorSelectionMethod.Generic;
		spawnType = TileSpawnType.NormalTile;
//		spawnTileType = cachedTypeList[(int)spawnType];
	}
Esempio n. 6
0
	public RuleEntry(TileSpawnType _spawnType, TileColorType _spawnColor, ColorSelectionMethod _colorSelection, bool _randomColor)
	{
		spawnType = _spawnType;
		spawnColor = _spawnColor;
		colorSelection = _colorSelection;
		randomColor = _randomColor;
	}