C# Class SadConsole.Game.Hotspot

A group of positions with a set of settings.
ファイルを表示 Open project: Thraka/SadConsole Class Usage Examples

Public Properties

Property Type Description
DebugAppearance CellAppearance
Positions List
Settings string>.Dictionary
Title string

Public Methods

Method Description
Contains ( Point point ) : bool

Return true when the specified point is in the list of Positions.

Method Details

Contains() public method

Return true when the specified point is in the list of Positions.
public Contains ( Point point ) : bool
point Microsoft.Xna.Framework.Point The position to check for.
return bool

Property Details

DebugAppearance public_oe property

A visual for the hotspot to help debug.
public CellAppearance DebugAppearance
return CellAppearance

Positions public_oe property

The hotspot position on the map.
public List Positions
return List

Settings public_oe property

Key-value pairs for the hotspot.
public Dictionary Settings
return string>.Dictionary

Title public_oe property

A title for the area.
public string Title
return string