C# Class DivineRightGame.ItemFactory.ItemFactoryManagers.TilesManager

Inheritance: IItemFactoryManager
Afficher le fichier Open project: Haedrian/Divine-Right Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

CreateItem() public méthode

public CreateItem ( int itemID ) : MapItem
itemID int
Résultat DRObjects.MapItem

CreateItem() public méthode

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
Résultat DRObjects.MapItem