C# Class SafeAndFree.Projectile

Inheritance: Actor
ファイルを表示 Open project: mokasocial/PrivacyDefense Class Usage Examples

Public Properties

Property Type Description
CenterPosition Vector2
CurrentDelay int
Frame int
Rotation float
Stats SafeAndFree.Data.WeaponStats
TargetCreep Creep
type ProjectileTypes

Public Methods

Method Description
Projectile ( WeaponStats stats, Creep targetCreep, Vector2 startPoint, TowerTypes parentTowerType ) : System
Update ( ) : bool

Update this Projectile instance.

Private Methods

Method Description
SelectTypeBasedOnTowerType ( TowerTypes type ) : ProjectileTypes

Method Details

Projectile() public method

public Projectile ( WeaponStats stats, Creep targetCreep, Vector2 startPoint, TowerTypes parentTowerType ) : System
stats SafeAndFree.Data.WeaponStats
targetCreep Creep
startPoint Vector2
parentTowerType TowerTypes
return System

Update() public method

Update this Projectile instance.
public Update ( ) : bool
return bool

Property Details

CenterPosition public_oe property

The center position of this instance.
public Vector2 CenterPosition
return Vector2

CurrentDelay public_oe property

public int CurrentDelay
return int

Frame public_oe property

public int Frame
return int

Rotation public_oe property

public float Rotation
return float

Stats public_oe property

public WeaponStats,SafeAndFree.Data Stats
return SafeAndFree.Data.WeaponStats

TargetCreep public_oe property

public Creep,SafeAndFree TargetCreep
return Creep

type public_oe property

public ProjectileTypes type
return ProjectileTypes