C# Class Castle.Guard

Inheritance: Monster
Show file Open project: Thraka/SadConsole

Public Methods

Method Description
Guard ( String name, String inventoryName, int roomId, int x, int y, int character, string description, string showItem, string playItem, string showDescription ) : System
Hit ( Castle.CastleItem sword ) : Castle.UserMessage
Play ( Castle.CastleItem item ) : Castle.UserMessage
PreviewMove ( Point playerLocation ) : Point
Show ( Castle.CastleItem item ) : Castle.UserMessage

Method Details

Guard() public method

public Guard ( String name, String inventoryName, int roomId, int x, int y, int character, string description, string showItem, string playItem, string showDescription ) : System
name String
inventoryName String
roomId int
x int
y int
character int
description string
showItem string
playItem string
showDescription string
return System

Hit() public method

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

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