C# Class GunnerClass, DefendAman

Inheritance: RangedClass
显示文件 Open project: CarsonRoscoe/DefendAman

Public Properties

Property Type Description
FOVCone DynamicLight,
FOVConeHidden DynamicLight,
chargeTime float
endingAtkRatio float
holdTime float
maxRatio float
startingAtkRatio float
targetConeAngle float
targetConeRadius float
targetZoomOutRange float
zoomInTime float

Public Methods

Method Description
basicAttack ( Vector2 dir, Vector2 playerLoc = default(Vector2) ) : float
specialAttack ( Vector2 dir, Vector2 playerLoc = default(Vector2) ) : float

Private Methods

Method Description
ChargeAttack ( ) : IEnumerator
ReleaseAttack ( ) : IEnumerator
SendLaserPacket ( ) : void
Start ( ) : void
Update ( ) : void
fire ( ) : void
fireFromServer ( JSONClass packet ) : void
playspecialCharge ( int PlayerID ) : void
playspecialSound ( int PlayerID ) : void

Method Details

basicAttack() public method

public basicAttack ( Vector2 dir, Vector2 playerLoc = default(Vector2) ) : float
dir Vector2
playerLoc Vector2
return float

specialAttack() public method

public specialAttack ( Vector2 dir, Vector2 playerLoc = default(Vector2) ) : float
dir Vector2
playerLoc Vector2
return float

Property Details

FOVCone public_oe property

public DynamicLight, FOVCone
return DynamicLight,

FOVConeHidden public_oe property

public DynamicLight, FOVConeHidden
return DynamicLight,

chargeTime public_oe property

public float chargeTime
return float

endingAtkRatio public_oe property

public float endingAtkRatio
return float

holdTime public_oe property

public float holdTime
return float

maxRatio public_oe property

public float maxRatio
return float

startingAtkRatio public_oe property

public float startingAtkRatio
return float

targetConeAngle public_oe property

public float targetConeAngle
return float

targetConeRadius public_oe property

public float targetConeRadius
return float

targetZoomOutRange public_oe property

public float targetZoomOutRange
return float

zoomInTime public_oe property

public float zoomInTime
return float