C# Class demogame.entities.Ball

Inheritance: Entity
显示文件 Open project: Gnoll/XNAPunk Class Usage Examples

Public Properties

Property Type Description
Velocity Vector2

Public Methods

Method Description
Ball ( int x, int y ) : System
Update ( GameTime gameTime ) : void

Method Details

Ball() public method

public Ball ( int x, int y ) : System
x int
y int
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

Velocity public_oe property

public Vector2 Velocity
return Vector2