C# 클래스 DivineRightGame.ItemFactory.ItemFactoryManagers.MundaneItemsManager

상속: IItemFactoryManager
파일 보기 프로젝트 열기: Haedrian/Divine-Right 1 사용 예제들

공개 메소드들

메소드 설명
CreateItem ( List parameters ) : MapItem

Creates a mundane item from particular parameters

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

Creates a mundane map item from the parameters.

메소드 상세

CreateItem() 공개 메소드

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

CreateItem() 공개 메소드

public CreateItem ( int itemID ) : MapItem
itemID int
리턴 DRObjects.MapItem

CreateItem() 공개 메소드

Creates a mundane map item from the parameters.
public CreateItem ( string name, string description, string graphic, string canHaveItems ) : 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
리턴 DRObjects.MapItem