C# Class Air_Hockey_Simulator.Physics.Physics

Datei anzeigen Open project: CallumJHays/AirHockeyRobot

Public Properties

Property Type Description
energy_loss_enabled bool

Public Methods

Method Description
GetClosestCollisionData ( Puck p, double offset, PointD ghost_puck_location, Puck c, Table table ) : CollisionData
ProjectionLine ( Puck p, Line reference ) : Line
Update ( Puck p, Puck c, Table table, double delta_time ) : InformationPacket

Method Details

GetClosestCollisionData() public static method

public static GetClosestCollisionData ( Puck p, double offset, PointD ghost_puck_location, Puck c, Table table ) : CollisionData
p Puck
offset double
ghost_puck_location PointD
c Puck
table Table
return CollisionData

ProjectionLine() public static method

public static ProjectionLine ( Puck p, Line reference ) : Line
p Puck
reference Line
return Line

Update() public static method

public static Update ( Puck p, Puck c, Table table, double delta_time ) : InformationPacket
p Puck
c Puck
table Table
delta_time double
return InformationPacket

Property Details

energy_loss_enabled public_oe static_oe property

public static bool energy_loss_enabled
return bool