C# Class OurSonic.Sonic.Sensor

Mostrar archivo Open project: OurSonic/OurSonicSharp Class Usage Examples

Private Properties

Property Type Description
checkCollisionLineWrap SensorM

Public Methods

Method Description
Check ( Sonic character ) : SensorM
Draw ( CanvasRenderingContext2D canvas, Sonic character, SensorM sensorResult ) : void
Sensor ( int x1, int x2, int y1, int y2, SensorManager manager, string color, bool ignoreSolid, string letter ) : System

Private Methods

Method Description
checkCollisionLineWrap ( int x1, int x2, int y1, int y2, bool ignoreSolid ) : SensorM

Method Details

Check() public method

public Check ( Sonic character ) : SensorM
character Sonic
return SensorM

Draw() public method

public Draw ( CanvasRenderingContext2D canvas, Sonic character, SensorM sensorResult ) : void
canvas System.Html.Media.Graphics.CanvasRenderingContext2D
character Sonic
sensorResult SensorM
return void

Sensor() public method

public Sensor ( int x1, int x2, int y1, int y2, SensorManager manager, string color, bool ignoreSolid, string letter ) : System
x1 int
x2 int
y1 int
y2 int
manager SensorManager
color string
ignoreSolid bool
letter string
return System