C# Class SafeAndFree.Projectile

Inheritance: Actor
Afficher le fichier Open project: mokasocial/PrivacyDefense Class Usage Examples

Méthodes publiques

Свойство Type Description
CenterPosition Vector2
CurrentDelay int
Frame int
Rotation float
Stats SafeAndFree.Data.WeaponStats
TargetCreep Creep
type ProjectileTypes

Méthodes publiques

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

Update this Projectile instance.

Private Methods

Méthode Description
SelectTypeBasedOnTowerType ( TowerTypes type ) : ProjectileTypes

Method Details

Projectile() public méthode

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

Update() public méthode

Update this Projectile instance.
public Update ( ) : bool
Résultat bool

Property Details

CenterPosition public_oe property

The center position of this instance.
public Vector2 CenterPosition
Résultat Vector2

CurrentDelay public_oe property

public int CurrentDelay
Résultat int

Frame public_oe property

public int Frame
Résultat int

Rotation public_oe property

public float Rotation
Résultat float

Stats public_oe property

public WeaponStats,SafeAndFree.Data Stats
Résultat SafeAndFree.Data.WeaponStats

TargetCreep public_oe property

public Creep,SafeAndFree TargetCreep
Résultat Creep

type public_oe property

public ProjectileTypes type
Résultat ProjectileTypes