C# Class DivineRightGame.ItemFactory.ItemFactoryManagers.TilesManager

Inheritance: IItemFactoryManager
Exibir arquivo Open project: Haedrian/Divine-Right Class Usage Examples

Public Methods

Method Description
CreateItem ( List parameters ) : MapItem

Creates a mundane item from particular parameters

CreateItem ( int itemID ) : MapItem
CreateItem ( string name, string description, string graphic, string canHaveItems, string tags ) : MapItem

Creates a mundane map item from the parameters.

Method Details

CreateItem() public method

Creates a mundane item from particular parameters
public CreateItem ( List parameters ) : MapItem
parameters List
return DRObjects.MapItem

CreateItem() public method

public CreateItem ( int itemID ) : MapItem
itemID int
return DRObjects.MapItem

CreateItem() public method

Creates a mundane map item from the parameters.
public CreateItem ( string name, string description, string graphic, string canHaveItems, string tags ) : MapItem
name string The name to be shown when the user clicks on it
description string A description shown when the item is examined
graphic string The graphic to show
canHaveItems string Whether it can have items placed on it or not
tags string
return DRObjects.MapItem