C# Class MineViewer.Bookmarks

Mostrar archivo Open project: dzamkov/MineViewer Class Usage Examples

Public Properties

Property Type Description
_Action Vector>.Action

Public Methods

Method Description
Add ( string name, Vector pos, Vector ang ) : void

Add a new Bookmark

Bookmarks ( string world, Action action ) : System

Creates a new bookmarks object.

Remove ( string name ) : void

Remove an existing bookmark

Save ( ) : void
ShowForm ( Vector pos, Vector ang ) : void

Show the form

Private Methods

Method Description
AngleFromName ( string name ) : Vector
Exists ( string name ) : bool
VectorFromName ( string name ) : Vector

Method Details

Add() public method

Add a new Bookmark
public Add ( string name, Vector pos, Vector ang ) : void
name string
pos Vector
ang Vector
return void

Bookmarks() public method

Creates a new bookmarks object.
public Bookmarks ( string world, Action action ) : System
world string
action Action
return System

Remove() public method

Remove an existing bookmark
public Remove ( string name ) : void
name string
return void

Save() public method

public Save ( ) : void
return void

ShowForm() public method

Show the form
public ShowForm ( Vector pos, Vector ang ) : void
pos Vector
ang Vector
return void

Property Details

_Action public_oe property

public Action,Vector> _Action
return Vector>.Action