C# Class Shooter.Controls.CreateItems

Exibir arquivo Open project: JoeyTheAsian/Just-Force

Public Methods

Method Description
CheckItemCollisions ( List Items, Character player, Microsoft.Xna.Framework.Content.ContentManager Content, Queue curSounds ) : void
CreateHealthKit ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void
CreatePistolAmmo ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void
CreateRandomItem ( Random rng, Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y, Character player ) : void
CreateRifleAmmo ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void
CreateSMGAmmo ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void
CreateShotgunAmmo ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void

Method Details

CheckItemCollisions() public static method

public static CheckItemCollisions ( List Items, Character player, Microsoft.Xna.Framework.Content.ContentManager Content, Queue curSounds ) : void
Items List
player Shooter.Entities.Character
Content Microsoft.Xna.Framework.Content.ContentManager
curSounds Queue
return void

CreateHealthKit() public static method

public static CreateHealthKit ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void
Content Microsoft.Xna.Framework.Content.ContentManager
Items List
x double
y double
return void

CreatePistolAmmo() public static method

public static CreatePistolAmmo ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void
Content Microsoft.Xna.Framework.Content.ContentManager
Items List
x double
y double
return void

CreateRandomItem() public static method

public static CreateRandomItem ( Random rng, Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y, Character player ) : void
rng System.Random
Content Microsoft.Xna.Framework.Content.ContentManager
Items List
x double
y double
player Shooter.Entities.Character
return void

CreateRifleAmmo() public static method

public static CreateRifleAmmo ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void
Content Microsoft.Xna.Framework.Content.ContentManager
Items List
x double
y double
return void

CreateSMGAmmo() public static method

public static CreateSMGAmmo ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void
Content Microsoft.Xna.Framework.Content.ContentManager
Items List
x double
y double
return void

CreateShotgunAmmo() public static method

public static CreateShotgunAmmo ( Microsoft.Xna.Framework.Content.ContentManager Content, List Items, double x, double y ) : void
Content Microsoft.Xna.Framework.Content.ContentManager
Items List
x double
y double
return void