Jypeli  9
The simple game programming library
IAxleJoint.cs
Siirry tämän tiedoston dokumentaatioon.
1 #region MIT License
2 /*
3  * Copyright (c) 2009 University of Jyväskylä, Department of Mathematical
4  * Information Technology.
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy
7  * of this software and associated documentation files (the "Software"), to deal
8  * in the Software without restriction, including without limitation the rights
9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10  * copies of the Software, and to permit persons to whom the Software is
11  * furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in
14  * all copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22  * THE SOFTWARE.
23  */
24 #endregion
25 
26 /*
27  * Authors: Vesa Lappalainen, Tero Jäntti, Tomi Karppinen.
28  */
29 
30 using System;
31 using System.ComponentModel;
32 
33 namespace Jypeli
34 {
35  public interface IAxleJoint : Destroyable, IDisposable
36  {
41 
46 
50  Vector AxlePoint { get; }
51 
55  double Softness { get; set; }
56 
57  [EditorBrowsable( EditorBrowsableState.Never )]
59 
60  [EditorBrowsable( EditorBrowsableState.Never)]
61  void AddToEngine();
62  }
63 }
Jypeli.IAxleJoint.AxlePoint
Vector AxlePoint
Pyörimisakselin (tämänhetkiset) koordinaatit.
Definition: IAxleJoint.cs:50
Jypeli.Physics.IPhysicsEngine
Definition: IPhysicsEngine.cs:4
Jypeli
Definition: Automobile.cs:5
Jypeli.IAxleJoint.SetEngine
void SetEngine(Jypeli.Physics.IPhysicsEngine engine)
Jypeli.IAxleJoint.Object2
PhysicsObject Object2
Toinen olio (null jos ensimmäinen olio on sidottu pisteeseen)
Definition: IAxleJoint.cs:45
Jypeli.IAxleJoint.Object1
PhysicsObject Object1
Ensimmäinen olio.
Definition: IAxleJoint.cs:40
Jypeli.Destroyable
Rajapinta olioille, jotka ovat tuhottavissa.
Definition: Destroyable.cs:9
Jypeli.IAxleJoint.Softness
double Softness
Liitoksen pehmeys eli kuinka paljon sillä on liikkumavaraa.
Definition: IAxleJoint.cs:55
Jypeli.IAxleJoint
Definition: IAxleJoint.cs:36
Jypeli.Physics
Definition: Collision.cs:4
Jypeli.Vector
2D-vektori.
Definition: Vector.cs:59
System
Definition: CFFauxAttributes.cs:29
Jypeli.PhysicsObject
Definition: Collisions.cs:6
Jypeli.IAxleJoint.AddToEngine
void AddToEngine()