C# Class Shooter.Controls.Shooting

ファイルを表示 Open project: JoeyTheAsian/Just-Force

Public Properties

Property Type Description
weapons Shooter.Controls.Weapon[]

Public Methods

Method Description
CreateWeapons ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void
ShootWeapon ( Character player, Microsoft.Xna.Framework.Input.MouseState mState, Microsoft.Xna.Framework.Input.MouseState oldMState, List projectiles, bool temp, Camera c, Microsoft.Xna.Framework.Content.ContentManager Content, Queue curSounds, SoundEffect>.Dictionary soundEffects, Map &m ) : void
Stab ( Character player, KeyboardState state, KeyboardState oldState, Microsoft.Xna.Framework.Content.ContentManager content, Camera c, int tileSize, List projectiles, Queue curSounds ) : void
SwitchWeapon ( Character player, KeyboardState state, KeyboardState oldState ) : void

Method Details

CreateWeapons() public static method

public static CreateWeapons ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void
Content Microsoft.Xna.Framework.Content.ContentManager
return void

ShootWeapon() public static method

public static ShootWeapon ( Character player, Microsoft.Xna.Framework.Input.MouseState mState, Microsoft.Xna.Framework.Input.MouseState oldMState, List projectiles, bool temp, Camera c, Microsoft.Xna.Framework.Content.ContentManager Content, Queue curSounds, SoundEffect>.Dictionary soundEffects, Map &m ) : void
player Shooter.Entities.Character
mState Microsoft.Xna.Framework.Input.MouseState
oldMState Microsoft.Xna.Framework.Input.MouseState
projectiles List
temp bool
c Camera
Content Microsoft.Xna.Framework.Content.ContentManager
curSounds Queue
soundEffects SoundEffect>.Dictionary
m Shooter.MapClasses.Map
return void

Stab() public static method

public static Stab ( Character player, KeyboardState state, KeyboardState oldState, Microsoft.Xna.Framework.Content.ContentManager content, Camera c, int tileSize, List projectiles, Queue curSounds ) : void
player Shooter.Entities.Character
state Microsoft.Xna.Framework.Input.KeyboardState
oldState Microsoft.Xna.Framework.Input.KeyboardState
content Microsoft.Xna.Framework.Content.ContentManager
c Camera
tileSize int
projectiles List
curSounds Queue
return void

SwitchWeapon() public static method

public static SwitchWeapon ( Character player, KeyboardState state, KeyboardState oldState ) : void
player Shooter.Entities.Character
state Microsoft.Xna.Framework.Input.KeyboardState
oldState Microsoft.Xna.Framework.Input.KeyboardState
return void

Property Details

weapons public_oe static_oe property

public static Weapon[],Shooter.Controls weapons
return Shooter.Controls.Weapon[]