Monday 4.7 | Destroyable Objective
Platformer Prototype
Creating a destroyable type of objective. Probably going to be used for a communication tower that can be destroyed making the enemy unable to call back up. On my blog
Destroyable Objective
Nothing too fancy. Had to refactor some of the critical strike marker code to work on the objective too.
Day's Work
- Objective
- Refactoring
- class Objective : MonoBehaviour
- class InteractiveObjective : Objective
- class DestroyablyObjective : Objective
- Now has ObjectiveType (Not InteractionType)
- SimpleInteraction
- ItemGiveInteraction
- ItemAsConditionInteraction
- Destroyable
- class Objective : MonoBehaviour
- Destroyable Objective
- IDamageable
- Health
- Refactoring
- Critical strike marker
- Refactoring
- abstract class CriticalStrikeMarker : MonoBehaviour
- class EnemyExecutionMarker : CriticalStrikeMarker
- class ObjectiveCriticalStrikeMarker : CriticalStrikeMarker
- abstract class CriticalStrikeMarker : MonoBehaviour
- bool lookAtPlayer
- Refactoring
- Minor bug fixes