C# Class OurSonic.Sonic.Sensor

Afficher le fichier Open project: OurSonic/OurSonicSharp Class Usage Examples

Private Properties

Свойство Type Description
checkCollisionLineWrap SensorM

Méthodes publiques

Méthode 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

Méthode Description
checkCollisionLineWrap ( int x1, int x2, int y1, int y2, bool ignoreSolid ) : SensorM

Method Details

Check() public méthode

public Check ( Sonic character ) : SensorM
character Sonic
Résultat SensorM

Draw() public méthode

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

Sensor() public méthode

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
Résultat System