public PrefabItem(string name, Action <Vector3> droppedCallback, IItemID id, GameObjectItem prefab) { Name = name; ID = id; this.droppedCallback = droppedCallback; this.prefab = prefab; }
public SimpleItem(string name, Action <Vector3> droppedCallback, IItemID id, Color color, Sprite sprite) { this.Name = name; this.droppedCallback = droppedCallback; this.ID = id; this.color = color; this.sprite = sprite; }