C# 클래스 GameItem, DungeonGame

상속: MonoBehaviour, IGameItemView
파일 보기 프로젝트 열기: MorganMoon/DungeonGame 1 사용 예제들

공개 메소드들

메소드 설명
GameItem ( ) : System.Collections
GameItem ( string itemName, int goldWorth ) : System.Collections
GetGoldWorth ( ) : int
GetItemName ( ) : string
RandomName ( ) : string
SetGoldWorth ( int goldWorth ) : void
SetItemName ( string itemName ) : void
ToString ( ) : string

메소드 상세

GameItem() 공개 메소드

public GameItem ( ) : System.Collections
리턴 System.Collections

GameItem() 공개 메소드

public GameItem ( string itemName, int goldWorth ) : System.Collections
itemName string
goldWorth int
리턴 System.Collections

GetGoldWorth() 공개 메소드

public GetGoldWorth ( ) : int
리턴 int

GetItemName() 공개 메소드

public GetItemName ( ) : string
리턴 string

RandomName() 공개 메소드

public RandomName ( ) : string
리턴 string

SetGoldWorth() 공개 메소드

public SetGoldWorth ( int goldWorth ) : void
goldWorth int
리턴 void

SetItemName() 공개 메소드

public SetItemName ( string itemName ) : void
itemName string
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string