C# Class Electric_Potatoe_TD.Shoot

Show file Open project: Haseo/Electric-Potatoe-TD

Public Properties

Property Type Description
creationTime System.TimeSpan

Protected Properties

Property Type Description
_area int
_coord Vector2
_dmg int
_game Game
_speed int
_target List
lastTargetPos Vector2
loopLife int
loopLifeMax int

Public Methods

Method Description
GetBulletType ( ) : EBulletType
update ( ) : bool

Protected Methods

Method Description
CalcNewPostion ( int move_x, int move_y ) : void
getTargetCoord ( ) : void
getdistance ( Vector2 triangle ) : void
hit ( ) : bool
move ( ) : void
touch ( ) : void

Method Details

CalcNewPostion() protected method

protected CalcNewPostion ( int move_x, int move_y ) : void
move_x int
move_y int
return void

GetBulletType() public method

public GetBulletType ( ) : EBulletType
return EBulletType

getTargetCoord() protected method

protected getTargetCoord ( ) : void
return void

getdistance() protected method

protected getdistance ( Vector2 triangle ) : void
triangle Vector2
return void

hit() protected method

protected hit ( ) : bool
return bool

move() protected method

protected move ( ) : void
return void

touch() protected method

protected touch ( ) : void
return void

update() public method

public update ( ) : bool
return bool

Property Details

_area protected property

protected int _area
return int

_coord protected property

protected Vector2 _coord
return Vector2

_dmg protected property

protected int _dmg
return int

_game protected property

protected Game _game
return Game

_speed protected property

protected int _speed
return int

_target protected property

protected List _target
return List

creationTime public property

public TimeSpan,System creationTime
return System.TimeSpan

lastTargetPos protected property

protected Vector2 lastTargetPos
return Vector2

loopLife protected property

protected int loopLife
return int

loopLifeMax protected property

protected int loopLifeMax
return int