C# Class Electric_Potatoe_TD.Game

Show file Open project: Haseo/Electric-Potatoe-TD Class Usage Examples

Public Properties

Property Type Description
BulletList List
BulletTexture Texture2D>.Dictionary
CoefBonus double
LevelColor Color>.Dictionary
LevelTexture Texture2D>.Dictionary
MapTexture Texture2D>.Dictionary
MobList List
MobTexture Texture2D>.Dictionary
NoConstruct Microsoft.Xna.Framework.Graphics.Texture2D
TurretList List
TypeTexture Texture2D>.Dictionary
listTarget List
nodeLink Vector2>>.List
size_case int
size_caseZoom int

Public Methods

Method Description
AccelerometerReadingChanged ( object sender, AccelerometerReadingEventArgs e ) : void
Active_Desactive_Node ( ) : bool
FakeBulletFiller ( ) : void
FakeModFiller ( ) : void
Game ( Game1 game ) : System
Initialize ( ) : void
LoadContent ( ) : void
Oriented_changed ( ) : void
Restart ( ) : void
Select_Node ( ) : bool
UnloadContent ( ) : void
add_wayTouch ( ) : bool
blanco ( ) : void
calc_posZoom ( ) : bool
checkBulletHit ( ) : void
checkEndGame ( ) : bool
create_tower ( EType type_tower ) : void
draw ( int FrameStart, int FPS, int CurrentFrame, int CurrentMobFrame, int SheetSize ) : void
drawLine ( Vector2 origine, Vector2 dest ) : void
draw_Selected ( ) : void
draw_bullet ( int CurrentFrame ) : void
draw_content ( ) : void
draw_contentZoom ( ) : void
draw_link ( ) : void
draw_map ( int FrameStart, int FPS, int CurrentFrame, int SheetSize ) : void
draw_mapZoom ( int FrameStart, int FPS, int CurrentFrame, int SheetSize ) : void
draw_mobs ( int CurrentFrame ) : void
draw_mobsZoom ( int CurrentFrame ) : void
draw_newNode ( ) : void
draw_shootZoom ( int CurrentFrame ) : void
end_wayTouch ( ) : bool
getScore ( ) : int
init_wayTouch ( ) : bool
mapFiller ( ) : void
mobIsDead ( Mob mob ) : void
turretFiller ( ) : void
update ( GameTime gameTime ) : void
updateSelected_item ( Vector2 PositionTouch ) : void

Protected Methods

Method Description
ident_pos ( Vector2 pos ) : Vector2

Private Methods

Method Description
can_access ( ) : bool
game_loop ( GameTime gameTime ) : void
make_connect ( Vector2 new_node, Vector2 old_node ) : void
mvtBonus ( ) : void
spawningManager ( GameTime gameTime ) : void
startAccSensor ( ) : void
transfert_connect ( Vector2 position ) : void

Method Details

AccelerometerReadingChanged() public method

public AccelerometerReadingChanged ( object sender, AccelerometerReadingEventArgs e ) : void
sender object
e AccelerometerReadingEventArgs
return void

Active_Desactive_Node() public method

public Active_Desactive_Node ( ) : bool
return bool

FakeBulletFiller() public method

public FakeBulletFiller ( ) : void
return void

FakeModFiller() public method

public FakeModFiller ( ) : void
return void

Game() public method

public Game ( Game1 game ) : System
game Game1
return System

Initialize() public method

public Initialize ( ) : void
return void

LoadContent() public method

public LoadContent ( ) : void
return void

Oriented_changed() public method

public Oriented_changed ( ) : void
return void

Restart() public method

public Restart ( ) : void
return void

Select_Node() public method

public Select_Node ( ) : bool
return bool

UnloadContent() public method

public UnloadContent ( ) : void
return void

add_wayTouch() public method

public add_wayTouch ( ) : bool
return bool

blanco() public method

public blanco ( ) : void
return void

calc_posZoom() public method

public calc_posZoom ( ) : bool
return bool

checkBulletHit() public method

public checkBulletHit ( ) : void
return void

checkEndGame() public method

public checkEndGame ( ) : bool
return bool

create_tower() public method

public create_tower ( EType type_tower ) : void
type_tower EType
return void

draw() public method

public draw ( int FrameStart, int FPS, int CurrentFrame, int CurrentMobFrame, int SheetSize ) : void
FrameStart int
FPS int
CurrentFrame int
CurrentMobFrame int
SheetSize int
return void

drawLine() public method

public drawLine ( Vector2 origine, Vector2 dest ) : void
origine Vector2
dest Vector2
return void

draw_Selected() public method

public draw_Selected ( ) : void
return void

draw_bullet() public method

public draw_bullet ( int CurrentFrame ) : void
CurrentFrame int
return void

draw_content() public method

public draw_content ( ) : void
return void

draw_contentZoom() public method

public draw_contentZoom ( ) : void
return void

draw_link() public method

public draw_link ( ) : void
return void

draw_map() public method

public draw_map ( int FrameStart, int FPS, int CurrentFrame, int SheetSize ) : void
FrameStart int
FPS int
CurrentFrame int
SheetSize int
return void

draw_mapZoom() public method

public draw_mapZoom ( int FrameStart, int FPS, int CurrentFrame, int SheetSize ) : void
FrameStart int
FPS int
CurrentFrame int
SheetSize int
return void

draw_mobs() public method

public draw_mobs ( int CurrentFrame ) : void
CurrentFrame int
return void

draw_mobsZoom() public method

public draw_mobsZoom ( int CurrentFrame ) : void
CurrentFrame int
return void

draw_newNode() public method

public draw_newNode ( ) : void
return void

draw_shootZoom() public method

public draw_shootZoom ( int CurrentFrame ) : void
CurrentFrame int
return void

end_wayTouch() public method

public end_wayTouch ( ) : bool
return bool

getScore() public method

public getScore ( ) : int
return int

ident_pos() protected method

protected ident_pos ( Vector2 pos ) : Vector2
pos Vector2
return Vector2

init_wayTouch() public method

public init_wayTouch ( ) : bool
return bool

mapFiller() public method

public mapFiller ( ) : void
return void

mobIsDead() public method

public mobIsDead ( Mob mob ) : void
mob Electric_Potatoe_TD.Mob.Mob
return void

turretFiller() public method

public turretFiller ( ) : void
return void

update() public method

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

updateSelected_item() public method

public updateSelected_item ( Vector2 PositionTouch ) : void
PositionTouch Vector2
return void

Property Details

BulletList public property

public List BulletList
return List

BulletTexture public property

public Dictionary BulletTexture
return Texture2D>.Dictionary

CoefBonus public property

public double CoefBonus
return double

LevelColor public property

public Dictionary LevelColor
return Color>.Dictionary

LevelTexture public property

public Dictionary LevelTexture
return Texture2D>.Dictionary

MapTexture public property

public Dictionary MapTexture
return Texture2D>.Dictionary

MobList public property

public List MobList
return List

MobTexture public property

public Dictionary MobTexture
return Texture2D>.Dictionary

NoConstruct public property

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

TurretList public property

public List TurretList
return List

TypeTexture public property

public Dictionary TypeTexture
return Texture2D>.Dictionary

listTarget public property

public List listTarget
return List

nodeLink public property

public List> nodeLink
return Vector2>>.List

size_case public property

public int size_case
return int

size_caseZoom public property

public int size_caseZoom
return int