C# Class FarseerPhysics.Samples.ScreenSystem.VirtualStick

Mostrar archivo Open project: tinco/Farseer-Physics Class Usage Examples

Public Properties

Property Type Description
StickPosition Microsoft.Xna.Framework.Vector2

Public Methods

Method Description
Draw ( SpriteBatch batch ) : void
Update ( Microsoft.Xna.Framework.Input.Touch.TouchLocation touchLocation ) : void
VirtualStick ( Microsoft.Xna.Framework.Graphics.Texture2D socket, Microsoft.Xna.Framework.Graphics.Texture2D stick, Vector2 position ) : FarseerPhysics.Samples.DrawingSystem

Method Details

Draw() public method

public Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Update() public method

public Update ( Microsoft.Xna.Framework.Input.Touch.TouchLocation touchLocation ) : void
touchLocation Microsoft.Xna.Framework.Input.Touch.TouchLocation
return void

VirtualStick() public method

public VirtualStick ( Microsoft.Xna.Framework.Graphics.Texture2D socket, Microsoft.Xna.Framework.Graphics.Texture2D stick, Vector2 position ) : FarseerPhysics.Samples.DrawingSystem
socket Microsoft.Xna.Framework.Graphics.Texture2D
stick Microsoft.Xna.Framework.Graphics.Texture2D
position Microsoft.Xna.Framework.Vector2
return FarseerPhysics.Samples.DrawingSystem

Property Details

StickPosition public_oe property

public Vector2,Microsoft.Xna.Framework StickPosition
return Microsoft.Xna.Framework.Vector2