C# Class DodongosQuest.Items.ItemFactory

Datei anzeigen Open project: faintpixel/Roguelike

Public Methods

Method Description
CreateItem ( ItemTypes itemType, Vector2 worldIndex, World world ) : IItem

Private Methods

Method Description
CreateBatWing ( Vector2 worldIndex, World world ) : IItem
CreateCursedDoll ( Vector2 worldIndex, World world ) : IItem
CreateDiamond ( Vector2 worldIndex, World world ) : IItem
CreateOldKey ( Vector2 worldIndex, World world ) : IItem
CreatePotionOfBlindness ( Vector2 worldIndex, World world ) : IItem
CreatePotionOfLevitation ( Vector2 worldIndex, World world ) : IItem
CreatePotionOfMinorEnergy ( Vector2 worldIndex, World world ) : IItem
CreatePotionOfMinorHealth ( Vector2 worldIndex, World world ) : IItem

Method Details

CreateItem() public static method

public static CreateItem ( ItemTypes itemType, Vector2 worldIndex, World world ) : IItem
itemType ItemTypes
worldIndex Vector2
world World
return IItem