public Inanimate(Vector2 pos, InanimateType type, GameplayState gs) { Position = pos; Type = type; GoldValue = 1; }
public static T Match <T>(this InanimateType self, Func <T> vase, Func <T> sacrificialFirePit) => self == InanimateType.Vase ? vase() : self == InanimateType.SacrificialFirePit ? sacrificialFirePit() : default(T);