C# Class Dodgeball.Game.Ball

Inheritance: Sprite
Afficher le fichier Open project: schonstal/BLOODBALL Class Usage Examples

Méthodes publiques

Свойство Type Description
collectable bool
dangerous bool
owned bool
owner Player
shadow Sprite
throwSound Microsoft.Xna.Framework.Audio.SoundEffectInstance
trail BallTrail

Méthodes publiques

Méthode Description
Ball ( float X, float Y ) : System
Fling ( float flingX, float flingY, float charge ) : void
Update ( ) : void
assertDanger ( ) : void
hitWall ( bool playSound = true ) : void
onCollide ( Player player, bool playerWasDead = false ) : void
onMove ( GameObject o ) : void
panPosition ( float panFactor = 0.25f ) : float
pickedUp ( ) : void
playBounceSound ( float volume = 0.5f ) : void
postUpdate ( ) : void

Method Details

Ball() public méthode

public Ball ( float X, float Y ) : System
X float
Y float
Résultat System

Fling() public méthode

public Fling ( float flingX, float flingY, float charge ) : void
flingX float
flingY float
charge float
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

assertDanger() public méthode

public assertDanger ( ) : void
Résultat void

hitWall() public méthode

public hitWall ( bool playSound = true ) : void
playSound bool
Résultat void

onCollide() public méthode

public onCollide ( Player player, bool playerWasDead = false ) : void
player Player
playerWasDead bool
Résultat void

onMove() public méthode

public onMove ( GameObject o ) : void
o GameObject
Résultat void

panPosition() public méthode

public panPosition ( float panFactor = 0.25f ) : float
panFactor float
Résultat float

pickedUp() public méthode

public pickedUp ( ) : void
Résultat void

playBounceSound() public méthode

public playBounceSound ( float volume = 0.5f ) : void
volume float
Résultat void

postUpdate() public méthode

public postUpdate ( ) : void
Résultat void

Property Details

collectable public_oe property

public bool collectable
Résultat bool

dangerous public_oe property

public bool dangerous
Résultat bool

owned public_oe property

public bool owned
Résultat bool

owner public_oe property

public Player,Dodgeball.Game owner
Résultat Player

shadow public_oe property

public Sprite shadow
Résultat Sprite

throwSound public_oe property

public SoundEffectInstance,Microsoft.Xna.Framework.Audio throwSound
Résultat Microsoft.Xna.Framework.Audio.SoundEffectInstance

trail public_oe property

public BallTrail,Dodgeball.Game trail
Résultat BallTrail