1
Fork 0
slime-blood-and-pain/Assets/Scripts/EntityItemStairs.cs

17 lines
384 B
C#
Raw Permalink Normal View History

2019-04-29 13:27:26 +00:00
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();
}
}