XCom.Interfaces.Base.IMap_Base.Down C# (CSharp) Method

Down() public method

Changes the currentHeight property and fires a HeightChanged event
public Down ( ) : void
return void
		public void Down()
		{
			if (currentHeight < mapSize.Height - 1)
			{
				currentHeight++;
				HeightChangedEventArgs e = new HeightChangedEventArgs(currentHeight, currentHeight + 1);
				if (HeightChanged != null)
					HeightChanged(this, e);
			}
		}