1
Fork 0
slime-blood-and-pain/Assets/Scripts/EntityItemStairs.cs
2019-04-29 15:27:26 +02:00

17 lines
No EOL
384 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EntityItemStairs : EntityItem
{
public override string Name {
get {
return "Stairs";
}
}
public override void OnPickup(EntityPlayer player) {
messageBar.Write("Generating next floor...", Color.magenta);
map.NewLevel();
}
}