C# Class Paddle, XNA

Inheritance: MonoBehaviour
Datei anzeigen Open project: hatRiot/XNA Class Usage Examples

Public Properties

Property Type Description
boundingBox BoundingBox
padSpeed int
padSpeed2 int
position Vector2
screenSize Vector2
size Vector2
texture Texture2D
velocity Vector2

Public Methods

Method Description
Control ( ) : void
Paddle ( Texture2D t, Vector2 p, Vector2 s, int screenWidth, int screenHeight, BoundingBox b ) : System
increasePad ( ) : void
updateBoundingBox ( ) : void

Method Details

Control() public method

public Control ( ) : void
return void

Paddle() public method

public Paddle ( Texture2D t, Vector2 p, Vector2 s, int screenWidth, int screenHeight, BoundingBox b ) : System
t UnityEngine.Texture2D
p Vector2
s Vector2
screenWidth int
screenHeight int
b BoundingBox
return System

increasePad() public method

public increasePad ( ) : void
return void

updateBoundingBox() public method

public updateBoundingBox ( ) : void
return void

Property Details

boundingBox public_oe property

public BoundingBox boundingBox
return BoundingBox

padSpeed public_oe property

public int padSpeed
return int

padSpeed2 public_oe property

public int padSpeed2
return int

position public_oe property

public Vector2 position
return Vector2

screenSize public_oe property

public Vector2 screenSize
return Vector2

size public_oe property

public Vector2 size
return Vector2

texture public_oe property

public Texture2D texture
return Texture2D

velocity public_oe property

public Vector2 velocity
return Vector2