C# Class Castle.Monster

Inheritance: SadConsole.Game.GameObject
Show file Open project: Thraka/SadConsole Class Usage Examples

Public Methods

Method Description
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

Method Details

Hit() public method

public Hit ( Castle.CastleItem sword ) : Castle.UserMessage
sword Castle.CastleItem
return Castle.UserMessage

Monster() public method

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
return System

Move() public method

public Move ( Point location ) : void
location Point
return void

Play() public method

public Play ( Castle.CastleItem item ) : Castle.UserMessage
item Castle.CastleItem
return Castle.UserMessage

PreviewMove() public method

public PreviewMove ( Point playerLocation ) : Point
playerLocation Point
return Point

Show() public method

public Show ( Castle.CastleItem item ) : Castle.UserMessage
item Castle.CastleItem
return Castle.UserMessage