You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
495 B
29 lines
495 B
using Enemies.States; |
|
using UnityEngine; |
|
|
|
namespace Enemies |
|
{ |
|
public class AttackState : IState |
|
{ |
|
private Enemy context; |
|
|
|
public AttackState(Enemy context) |
|
{ |
|
this.context = context; |
|
} |
|
|
|
public void Enter() |
|
{ |
|
Debug.Log("Entering Attack State"); |
|
context.currentState = Enemy.States.Attack; |
|
} |
|
|
|
public void Execute() |
|
{ |
|
} |
|
|
|
public void Exit() |
|
{ |
|
} |
|
} |
|
} |