|
Eye of the Nile Docs
Everything you need to know to get started!
|
Public Attributes | |
| PrototypeMinionEntity | minionPrefab |
| float | spawnCooldown = 3f |
Public Attributes inherited from PrototypeBaseEntity | |
| PrototypeEntityInfo | baseInfo |
| PatrolZoneProto | patrolZonePrefab |
| Vector2 | leftOffset |
| Vector2 | rightOffset |
| Transform | attackPoint |
| ObjectHealth | objectHealth |
| int | attackVariant = 0 |
Protected Member Functions | |
| virtual void | SpawnEnemy () |
| override void | ChaseState () |
| override void | AwakeMethods () |
| override void | StartMethods () |
| override void | UpdateMethods () |
Protected Member Functions inherited from PrototypeBaseEntity | |
| virtual void | DetectHostile () |
| virtual void | ScanAttackRange () |
| virtual void | ScanAttackRangeMultiple () |
| virtual void | FlipSprite (float flipDirection) |
| virtual void | MoveLeft () |
| virtual void | MoveRight () |
| virtual void | MaintainMovement () |
| virtual void | StandStill () |
| virtual void | ActivateAttack () |
| virtual void | TriggerAttack () |
| virtual void | StateCheck (EntityState eState) |
| virtual void | InitializePatrolZone () |
| virtual void | PatrolState () |
| virtual void | CloseAttackState () |
| virtual void | ProtoCloseAttackState () |
Properties | |
| float | LivingMinions = 0 [get, set] |
Properties inherited from PrototypeBaseEntity | |
| EntityState | EState = EntityState.Patrol [get, set] |
| PatrolZoneProto | CurrentPatrolZone [get, set] |
Private Attributes | |
| List< PrototypeMinionEntity > | minionPool = new List<PrototypeMinionEntity>() |
| Vector3 | spawnOffset = new Vector3(0f, 0.5f, 0f) |
| float | minionLimit = 4 |
| float | spawnCooldownEndTime = 0f |
Additional Inherited Members | |
Protected Attributes inherited from PrototypeBaseEntity | |
| Rigidbody2D | rb |
| Animator | animator |
| float | horizontalDirection |
| Collider2D | currentHitObject |
| PrototypeEntityChecks | entityBools |
|
protectedvirtual |
Reimplemented from PrototypeBaseEntity.
|
protectedvirtual |
Reimplemented from PrototypeBaseEntity.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from PrototypeBaseEntity.
|
protectedvirtual |
Reimplemented from PrototypeBaseEntity.
|
private |
|
private |
| PrototypeMinionEntity PrototypeSpawnerEntity.minionPrefab |
| float PrototypeSpawnerEntity.spawnCooldown = 3f |
|
private |
|
private |
|
getset |