Jypeli  9
The simple game programming library
Jypeli.IPhysicsObject rajapintareferenssi

Yhteinen rajapinta kaikille fysiikkaolioille. Lisää...

Luokan Jypeli.IPhysicsObject luokkakaavio
Jypeli.IGameObject Jypeli.DelayedDestroyable Jypeli.Destroyable Jypeli.DimensionalRW Jypeli.PositionalRW Jypeli.Updatable Jypeli.Tagged Jypeli.Destroyable Jypeli.Dimensional Jypeli.Positional Jypeli.IPhysicsObjectInternal Jypeli.PhysicsStructure

Julkiset jäsenfunktiot

void ApplyTorque (double torque)
 
void Hit (Vector impulse)
 
void Push (Vector force)
 
void Push (Vector force, TimeSpan time)
 
void Stop ()
 
void StopAngular ()
 
void StopAxial (Vector axis)
 
void StopHorizontal ()
 
void StopVertical ()
 
- Julkiset jäsenfunktiot inherited from Jypeli.IGameObject
void Add (IGameObject childObject)
 
IEnumerable< T > GetChildObjects< T > ()
 
IEnumerable< T > GetChildObjects< T > (Predicate< T > predicate)
 
bool IsInside (Vector point)
 
void Move (Vector movement)
 
void MoveTo (Vector location, double speed, Action doWhenArrived)
 
void Remove (IGameObject childObject)
 
void StopMoveTo ()
 
- Julkiset jäsenfunktiot inherited from Jypeli.Destroyable
void Destroy ()
 
- Julkiset jäsenfunktiot inherited from Jypeli.Updatable
void Update (Time time)
 

Ominaisuudet

Vector Acceleration [get, set]
 
double AngularAcceleration [get, set]
 
double AngularDamping [get, set]
 
double AngularVelocity [get, set]
 
bool CanRotate [get, set]
 
int CollisionIgnoreGroup [get, set]
 
Ignorer CollisionIgnorer [get, set]
 
bool IgnoresCollisionResponse [get, set]
 
bool IgnoresExplosions [get, set]
 
bool IgnoresGravity [get, set]
 
bool IgnoresPhysicsLogics [get, set]
 
double KineticFriction [get, set]
 
double LinearDamping [get, set]
 
double Mass [get, set]
 
double MomentOfInertia [get, set]
 
PhysicsStructure ParentStructure [get]
 
double Restitution [get, set]
 
double StaticFriction [get, set]
 
Vector Velocity [get, set]
 
- Ominaisuudet inherited from Jypeli.IGameObject
Angle AbsoluteAngle [get, set]
 
Vector AbsolutePosition [get, set]
 
Vector AbsoluteUnitX [get]
 
Vector AbsoluteUnitY [get]
 
Angle Angle [get, set]
 
Animation Animation [get, set]
 
Brain Brain [get, set]
 
Color Color [get, set]
 
TimeSpan CreationTime [get]
 
bool IgnoresLighting [get, set]
 
Image Image [get, set]
 
bool IsAddedToGame [get]
 
bool IsVisible [get, set]
 
Layer Layer [get]
 
TimeSpan Lifetime [get]
 
TimeSpan MaximumLifetime [get, set]
 
int ObjectCount [get]
 
IGameObject Parent [get, set]
 
bool RotateImage [get, set]
 
Shape Shape [get, set]
 
bool TextureFillsShape [get, set]
 
Vector TextureWrapSize [get, set]
 
Vector UnitX [get]
 
Vector UnitY [get]
 
- Ominaisuudet inherited from Jypeli.Destroyable
bool IsDestroyed [get]
 
- Ominaisuudet inherited from Jypeli.DimensionalRW
new double Bottom [get, set]
 Alareuna. Lisää...
 
new double Height [get, set]
 Korkeus. Lisää...
 
new double Left [get, set]
 Vasen reuna. Lisää...
 
new double Right [get, set]
 Oikea reuna. Lisää...
 
new Vector Size [get, set]
 Koko. Lisää...
 
new double Top [get, set]
 Yläreuna. Lisää...
 
new double Width [get, set]
 Leveys. Lisää...
 
- Ominaisuudet inherited from Jypeli.Dimensional
double Bottom [get]
 Alareuna. Lisää...
 
double Height [get]
 Korkeus. Lisää...
 
double Left [get]
 Vasen reuna. Lisää...
 
double Right [get]
 Oikea reuna. Lisää...
 
Vector Size [get]
 Koko. Lisää...
 
double Top [get]
 Yläreuna. Lisää...
 
double Width [get]
 Leveys. Lisää...
 
- Ominaisuudet inherited from Jypeli.PositionalRW
new Vector Position [get, set]
 Paikka. Lisää...
 
new double X [get]
 Paikan X-koordinaatti. Lisää...
 
new double Y [get]
 Paikan Y-koordinaatti. Lisää...
 
- Ominaisuudet inherited from Jypeli.Positional
Vector Position [get]
 Paikka. Lisää...
 
double X [get]
 Paikan X-koordinaatti. Lisää...
 
double Y [get]
 Paikan Y-koordinaatti. Lisää...
 
- Ominaisuudet inherited from Jypeli.Updatable
bool IsUpdated [get]
 
- Ominaisuudet inherited from Jypeli.Tagged
object Tag [get, set]
 
- Ominaisuudet inherited from Jypeli.DelayedDestroyable
bool IsDestroying [get]
 

Tapahtumat

CollisionHandler< IPhysicsObject, IPhysicsObjectCollided
 Tapahtuu, kun törmätään toiseen fysiikkaolioon. Lisää...
 
- Tapahtumat inherited from Jypeli.IGameObject
Action AddedToGame
 
Action Removed
 
- Tapahtumat inherited from Jypeli.Destroyable
Action Destroyed
 
- Tapahtumat inherited from Jypeli.DelayedDestroyable
Action Destroying
 

Yksityiskohtainen selite

Yhteinen rajapinta kaikille fysiikkaolioille.

Määrittely tiedoston IPhysicsObject.cs rivillä 11.

Jäsenfunktioiden dokumentaatio

◆ ApplyTorque()

void Jypeli.IPhysicsObject.ApplyTorque ( double  torque)

◆ Hit()

void Jypeli.IPhysicsObject.Hit ( Vector  impulse)

Toteutettu luokassa Jypeli.PhysicsStructure.

◆ Push() [1/2]

void Jypeli.IPhysicsObject.Push ( Vector  force)

◆ Push() [2/2]

void Jypeli.IPhysicsObject.Push ( Vector  force,
TimeSpan  time 
)

Toteutettu luokassa Jypeli.PhysicsStructure.

◆ Stop()

void Jypeli.IPhysicsObject.Stop ( )

Toteutettu luokassa Jypeli.PhysicsStructure.

◆ StopAngular()

void Jypeli.IPhysicsObject.StopAngular ( )

Toteutettu luokassa Jypeli.PhysicsStructure.

◆ StopAxial()

void Jypeli.IPhysicsObject.StopAxial ( Vector  axis)

Toteutettu luokassa Jypeli.PhysicsStructure.

◆ StopHorizontal()

void Jypeli.IPhysicsObject.StopHorizontal ( )

Toteutettu luokassa Jypeli.PhysicsStructure.

◆ StopVertical()

void Jypeli.IPhysicsObject.StopVertical ( )

Toteutettu luokassa Jypeli.PhysicsStructure.

Ominaisuuksien dokumentaatio

◆ Acceleration

Vector Jypeli.IPhysicsObject.Acceleration
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 29.

Viitattu Jypeli.FollowerBrain.SetTargetPosition().

◆ AngularAcceleration

double Jypeli.IPhysicsObject.AngularAcceleration
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 31.

◆ AngularDamping

double Jypeli.IPhysicsObject.AngularDamping
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 34.

◆ AngularVelocity

double Jypeli.IPhysicsObject.AngularVelocity
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 30.

Viitattu Jypeli.GameObjects.AngularOscillator.Apply().

◆ CanRotate

bool Jypeli.IPhysicsObject.CanRotate
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 22.

◆ CollisionIgnoreGroup

int Jypeli.IPhysicsObject.CollisionIgnoreGroup
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 18.

◆ CollisionIgnorer

Ignorer Jypeli.IPhysicsObject.CollisionIgnorer
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 17.

◆ IgnoresCollisionResponse

bool Jypeli.IPhysicsObject.IgnoresCollisionResponse
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 37.

◆ IgnoresExplosions

bool Jypeli.IPhysicsObject.IgnoresExplosions
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 36.

◆ IgnoresGravity

bool Jypeli.IPhysicsObject.IgnoresGravity
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 38.

◆ IgnoresPhysicsLogics

bool Jypeli.IPhysicsObject.IgnoresPhysicsLogics
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 39.

◆ KineticFriction

double Jypeli.IPhysicsObject.KineticFriction
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 26.

◆ LinearDamping

double Jypeli.IPhysicsObject.LinearDamping
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 33.

◆ Mass

double Jypeli.IPhysicsObject.Mass
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 20.

Viitattu Jypeli.GameObjects.LinearOscillator.Apply().

◆ MomentOfInertia

double Jypeli.IPhysicsObject.MomentOfInertia
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 21.

Viitattu Jypeli.GameObjects.AngularOscillator.Apply().

◆ ParentStructure

PhysicsStructure Jypeli.IPhysicsObject.ParentStructure
get

Määrittely tiedoston IPhysicsObject.cs rivillä 13.

◆ Restitution

double Jypeli.IPhysicsObject.Restitution
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 24.

◆ StaticFriction

double Jypeli.IPhysicsObject.StaticFriction
getset

Määrittely tiedoston IPhysicsObject.cs rivillä 25.

◆ Velocity

Vector Jypeli.IPhysicsObject.Velocity
getset

Tapahtumien dokumentaatio

◆ Collided

CollisionHandler<IPhysicsObject, IPhysicsObject> Jypeli.IPhysicsObject.Collided

Tapahtuu, kun törmätään toiseen fysiikkaolioon.

Määrittely tiedoston IPhysicsObject.cs rivillä 44.


Dokumentaatio tälle rajapinnalle luotiin seuraavasta tiedostosta: