C# 클래스 Castle.Monster

상속: SadConsole.Game.GameObject
파일 보기 프로젝트 열기: Thraka/SadConsole 1 사용 예제들

공개 메소드들

메소드 설명
Hit ( Castle.CastleItem sword ) : Castle.UserMessage
Monster ( String name, String inventoryName, int roomId, int x, int y, int character, int health, string description, string deadDescription ) : System
Move ( Point location ) : void
Play ( Castle.CastleItem item ) : Castle.UserMessage
PreviewMove ( Point playerLocation ) : Point
Show ( Castle.CastleItem item ) : Castle.UserMessage

메소드 상세

Hit() 공개 메소드

public Hit ( Castle.CastleItem sword ) : Castle.UserMessage
sword Castle.CastleItem
리턴 Castle.UserMessage

Monster() 공개 메소드

public Monster ( String name, String inventoryName, int roomId, int x, int y, int character, int health, string description, string deadDescription ) : System
name String
inventoryName String
roomId int
x int
y int
character int
health int
description string
deadDescription string
리턴 System

Move() 공개 메소드

public Move ( Point location ) : void
location Point
리턴 void

Play() 공개 메소드

public Play ( Castle.CastleItem item ) : Castle.UserMessage
item Castle.CastleItem
리턴 Castle.UserMessage

PreviewMove() 공개 메소드

public PreviewMove ( Point playerLocation ) : Point
playerLocation Point
리턴 Point

Show() 공개 메소드

public Show ( Castle.CastleItem item ) : Castle.UserMessage
item Castle.CastleItem
리턴 Castle.UserMessage