C# Class Tibialyzer.MapPictureBox

Inheritance: System.Windows.Forms.PictureBox
Show file Open project: Mytherin/Tibialyzer Class Usage Examples

Public Properties

Property Type Description
beginCoordinate Coordinate
beginWidth int
map Tibialyzer.Map
mapCoordinate Coordinate
mapImage Image
nextConnectionPoint Tibialyzer.Point3D
nextImportantTarget string
nextTarget string
otherMap Tibialyzer.Map
paths List
sourceWidth int
targetCoordinate Coordinate
targets List
zCoordinate int

Public Methods

Method Description
DrawPath ( Graphics gr, TibiaPath path ) : void
MapPictureBox ( ) : System
NextStep ( ) : void
SetTargetCoordinate ( Coordinate coordinate ) : void
UpdateMap ( bool periodicUpdate = false ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void

Private Methods

Method Description
RefreshMapTimer ( ) : void
convertx ( int x ) : int
converty ( int y ) : int

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DrawPath() public method

public DrawPath ( Graphics gr, TibiaPath path ) : void
gr System.Drawing.Graphics
path TibiaPath
return void

MapPictureBox() public method

public MapPictureBox ( ) : System
return System

NextStep() public method

public NextStep ( ) : void
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

SetTargetCoordinate() public method

public SetTargetCoordinate ( Coordinate coordinate ) : void
coordinate Coordinate
return void

UpdateMap() public method

public UpdateMap ( bool periodicUpdate = false ) : void
periodicUpdate bool
return void

Property Details

beginCoordinate public property

public Coordinate beginCoordinate
return Coordinate

beginWidth public property

public int beginWidth
return int

map public property

public Map,Tibialyzer map
return Tibialyzer.Map

mapCoordinate public property

public Coordinate mapCoordinate
return Coordinate

mapImage public property

public Image mapImage
return Image

nextConnectionPoint public property

public Point3D,Tibialyzer nextConnectionPoint
return Tibialyzer.Point3D

nextImportantTarget public property

public string nextImportantTarget
return string

nextTarget public property

public string nextTarget
return string

otherMap public property

public Map,Tibialyzer otherMap
return Tibialyzer.Map

paths public property

public List paths
return List

sourceWidth public property

public int sourceWidth
return int

targetCoordinate public property

public Coordinate targetCoordinate
return Coordinate

targets public property

public List targets
return List

zCoordinate public property

public int zCoordinate
return int