C# Class Touhou.Battle.Level

Mostra file Open project: schedule-productions/Touhou Class Usage Examples

Public Properties

Property Type Description
backgroundImage Microsoft.Xna.Framework.Graphics.Texture2D
backgroundImagePosition float
backgroundImageSpeed float
game Microsoft.Xna.Framework.Game
height int
random System.Random
screenHeight int
screenWidth int
width int

Public Methods

Method Description
AddBullet ( Bullet newBullet, BulletSet bulletSet ) : void
AddBulletEnemy ( Bullet newBullet ) : void
AddEnemy ( Enemy enemy ) : void
AddExplosion ( Effect explosion ) : void
Draw ( ) : void
Level ( Touhou game ) : System
Update ( GameTime gameTime, KeyboardState keystate ) : void

Method Details

AddBullet() public method

public AddBullet ( Bullet newBullet, BulletSet bulletSet ) : void
newBullet Bullet
bulletSet BulletSet
return void

AddBulletEnemy() public method

public AddBulletEnemy ( Bullet newBullet ) : void
newBullet Bullet
return void

AddEnemy() public method

public AddEnemy ( Enemy enemy ) : void
enemy Enemy
return void

AddExplosion() public method

public AddExplosion ( Effect explosion ) : void
explosion Microsoft.Xna.Framework.Graphics.Effect
return void

Draw() public method

public Draw ( ) : void
return void

Level() public method

public Level ( Touhou game ) : System
game Touhou
return System

Update() public method

public Update ( GameTime gameTime, KeyboardState keystate ) : void
gameTime Microsoft.Xna.Framework.GameTime
keystate Microsoft.Xna.Framework.Input.KeyboardState
return void

Property Details

backgroundImage public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics backgroundImage
return Microsoft.Xna.Framework.Graphics.Texture2D

backgroundImagePosition public_oe property

public float backgroundImagePosition
return float

backgroundImageSpeed public_oe property

public float backgroundImageSpeed
return float

game public_oe property

public Game,Microsoft.Xna.Framework game
return Microsoft.Xna.Framework.Game

height public_oe property

public int height
return int

random public_oe property

public Random,System random
return System.Random

screenHeight public_oe property

public int screenHeight
return int

screenWidth public_oe property

public int screenWidth
return int

width public_oe property

public int width
return int