C# Class GameEntities.RTSBuilding

Inheritance: RTSUnit
Afficher le fichier Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Private Properties

Свойство Type Description
CreateProductUnitAttachedMesh void
CreateProductedUnit void
DestroyProductUnitAttachedMesh void
TickProductUnit void
UpdateAttachedObjectsVisibility void

Méthodes publiques

Méthode Description
StartProductUnit ( RTSUnitType unitType ) : void
StopProductUnit ( ) : void

Méthodes protégées

Méthode Description
OnDamage ( MapObject prejudicial, Vec3 pos, Shape shape, float damage, bool allowMoveDamageToParent ) : void
OnPostCreate ( bool loaded ) : void

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).

OnTick ( ) : void

Overridden from Engine.EntitySystem.Entity.OnTick().

Private Methods

Méthode Description
CreateProductUnitAttachedMesh ( ) : void
CreateProductedUnit ( ) : void
DestroyProductUnitAttachedMesh ( ) : void
TickProductUnit ( ) : void
UpdateAttachedObjectsVisibility ( ) : void

Method Details

OnDamage() protected méthode

protected OnDamage ( MapObject prejudicial, Vec3 pos, Shape shape, float damage, bool allowMoveDamageToParent ) : void
prejudicial MapObject
pos Vec3
shape Shape
damage float
allowMoveDamageToParent bool
Résultat void

OnPostCreate() protected méthode

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
Résultat void

OnTick() protected méthode

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
Résultat void

StartProductUnit() public méthode

public StartProductUnit ( RTSUnitType unitType ) : void
unitType RTSUnitType
Résultat void

StopProductUnit() public méthode

public StopProductUnit ( ) : void
Résultat void