C# Class Electric_Potatoe_TD.Shoot

显示文件 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_oe property

protected int _area
return int

_coord protected_oe property

protected Vector2 _coord
return Vector2

_dmg protected_oe property

protected int _dmg
return int

_game protected_oe property

protected Game _game
return Game

_speed protected_oe property

protected int _speed
return int

_target protected_oe property

protected List _target
return List

creationTime public_oe property

public TimeSpan,System creationTime
return System.TimeSpan

lastTargetPos protected_oe property

protected Vector2 lastTargetPos
return Vector2

loopLife protected_oe property

protected int loopLife
return int

loopLifeMax protected_oe property

protected int loopLifeMax
return int