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

Up() public method

Changes the currentHeight property and fires a HeightChanged event
public Up ( ) : void
return void
		public void Up()
		{
			if (currentHeight > 0)
			{
				HeightChangedEventArgs e = new HeightChangedEventArgs(currentHeight, currentHeight - 1);
				currentHeight--;
				if (HeightChanged != null)
					HeightChanged(this, e);
			}
		}