public void Logic() { if (AreaOfVision.IntersectsWith(BelongsToLevel.Player.HitBox) && ActiveWeapon != null && !ActiveWeapon.InAction) { ActiveWeapon.LightAttack(); } ChangeMonsterPosition(); }