Esempio n. 1
0
		public override void AddStair(WorldLayer _enterFromLayer, Point _worldCoords, Stair _stair)
		{
			var blockId = BaseMapBlock.GetBlockId(EnterCoords);
			var inBlockCoords = BaseMapBlock.GetInBlockCoords(EnterCoords);
			var block = this[blockId];

			if (_stair is StairUp)
			{
				block.AddEssence(new StairDown(_enterFromLayer, EssenceHelper.GetFirstFoundedMaterial<MineralMaterial>()), inBlockCoords);
			}
			else
			{
				block.AddEssence(new StairUp(_enterFromLayer, EssenceHelper.GetFirstFoundedMaterial<MineralMaterial>()), inBlockCoords);
			}
		}
Esempio n. 2
0
		public virtual void AddStair(WorldLayer _enterFromLayer, Point _worldCoords, Stair _stair) { throw new NotImplementedException(); }