public void SpotsPlayerAt(Point p) { MessageBox.Show("the enemy has spotted you!!"); state = state.SpotPlayerAt(p); }
public EnemyUnit(AlarmState state) { this.state = state; orientation = RIGHT; }