C# Class Electric_Potatoe_TD.Game

Afficher le fichier Open project: Haseo/Electric-Potatoe-TD Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
ident_pos ( Vector2 pos ) : Vector2

Private Methods

Méthode 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 méthode

public AccelerometerReadingChanged ( object sender, AccelerometerReadingEventArgs e ) : void
sender object
e AccelerometerReadingEventArgs
Résultat void

Active_Desactive_Node() public méthode

public Active_Desactive_Node ( ) : bool
Résultat bool

FakeBulletFiller() public méthode

public FakeBulletFiller ( ) : void
Résultat void

FakeModFiller() public méthode

public FakeModFiller ( ) : void
Résultat void

Game() public méthode

public Game ( Game1 game ) : System
game Game1
Résultat System

Initialize() public méthode

public Initialize ( ) : void
Résultat void

LoadContent() public méthode

public LoadContent ( ) : void
Résultat void

Oriented_changed() public méthode

public Oriented_changed ( ) : void
Résultat void

Restart() public méthode

public Restart ( ) : void
Résultat void

Select_Node() public méthode

public Select_Node ( ) : bool
Résultat bool

UnloadContent() public méthode

public UnloadContent ( ) : void
Résultat void

add_wayTouch() public méthode

public add_wayTouch ( ) : bool
Résultat bool

blanco() public méthode

public blanco ( ) : void
Résultat void

calc_posZoom() public méthode

public calc_posZoom ( ) : bool
Résultat bool

checkBulletHit() public méthode

public checkBulletHit ( ) : void
Résultat void

checkEndGame() public méthode

public checkEndGame ( ) : bool
Résultat bool

create_tower() public méthode

public create_tower ( EType type_tower ) : void
type_tower EType
Résultat void

draw() public méthode

public draw ( int FrameStart, int FPS, int CurrentFrame, int CurrentMobFrame, int SheetSize ) : void
FrameStart int
FPS int
CurrentFrame int
CurrentMobFrame int
SheetSize int
Résultat void

drawLine() public méthode

public drawLine ( Vector2 origine, Vector2 dest ) : void
origine Vector2
dest Vector2
Résultat void

draw_Selected() public méthode

public draw_Selected ( ) : void
Résultat void

draw_bullet() public méthode

public draw_bullet ( int CurrentFrame ) : void
CurrentFrame int
Résultat void

draw_content() public méthode

public draw_content ( ) : void
Résultat void

draw_contentZoom() public méthode

public draw_contentZoom ( ) : void
Résultat void

draw_link() public méthode

public draw_link ( ) : void
Résultat void

draw_map() public méthode

public draw_map ( int FrameStart, int FPS, int CurrentFrame, int SheetSize ) : void
FrameStart int
FPS int
CurrentFrame int
SheetSize int
Résultat void

draw_mapZoom() public méthode

public draw_mapZoom ( int FrameStart, int FPS, int CurrentFrame, int SheetSize ) : void
FrameStart int
FPS int
CurrentFrame int
SheetSize int
Résultat void

draw_mobs() public méthode

public draw_mobs ( int CurrentFrame ) : void
CurrentFrame int
Résultat void

draw_mobsZoom() public méthode

public draw_mobsZoom ( int CurrentFrame ) : void
CurrentFrame int
Résultat void

draw_newNode() public méthode

public draw_newNode ( ) : void
Résultat void

draw_shootZoom() public méthode

public draw_shootZoom ( int CurrentFrame ) : void
CurrentFrame int
Résultat void

end_wayTouch() public méthode

public end_wayTouch ( ) : bool
Résultat bool

getScore() public méthode

public getScore ( ) : int
Résultat int

ident_pos() protected méthode

protected ident_pos ( Vector2 pos ) : Vector2
pos Vector2
Résultat Vector2

init_wayTouch() public méthode

public init_wayTouch ( ) : bool
Résultat bool

mapFiller() public méthode

public mapFiller ( ) : void
Résultat void

mobIsDead() public méthode

public mobIsDead ( Mob mob ) : void
mob Electric_Potatoe_TD.Mob.Mob
Résultat void

turretFiller() public méthode

public turretFiller ( ) : void
Résultat void

update() public méthode

public update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

updateSelected_item() public méthode

public updateSelected_item ( Vector2 PositionTouch ) : void
PositionTouch Vector2
Résultat void

Property Details

BulletList public_oe property

public List BulletList
Résultat List

BulletTexture public_oe property

public Dictionary BulletTexture
Résultat Texture2D>.Dictionary

CoefBonus public_oe property

public double CoefBonus
Résultat double

LevelColor public_oe property

public Dictionary LevelColor
Résultat Color>.Dictionary

LevelTexture public_oe property

public Dictionary LevelTexture
Résultat Texture2D>.Dictionary

MapTexture public_oe property

public Dictionary MapTexture
Résultat Texture2D>.Dictionary

MobList public_oe property

public List MobList
Résultat List

MobTexture public_oe property

public Dictionary MobTexture
Résultat Texture2D>.Dictionary

NoConstruct public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics NoConstruct
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

TurretList public_oe property

public List TurretList
Résultat List

TypeTexture public_oe property

public Dictionary TypeTexture
Résultat Texture2D>.Dictionary

listTarget public_oe property

public List listTarget
Résultat List

nodeLink public_oe property

public List> nodeLink
Résultat Vector2>>.List

size_case public_oe property

public int size_case
Résultat int

size_caseZoom public_oe property

public int size_caseZoom
Résultat int