# -*- coding: utf-8 -*-

import random
from src.sprites.characters.behaviours.MasterBehaviourState import *
# from src.sprites.characters.behaviours.death.MasterFollowPlayerState import *
from src.sprites.Character import *
from src.sprites.MySprite import *
from src.sprites.EnemyRange import *

# ------------------------------------------------------------------------------
# Clase MasterStillState

class MasterStillState(MasterBehaviourState):
    def __init__(self):
        MasterBehaviourState.__init__(self)
        # self.starting = True

    def move_ai(self, enemy, player):
        pass

    def update(self, enemy, time, mapRect, mapMask):
        # if self.starting:
        #     print("setting frame 4")
        #     enemy.set_initial_frame(4)
        #     self.starting = False
        # Se actualiza la animación del personaje
        Character.update_animation(enemy, time)
        MySprite.update(enemy, time)

    def receive_damage(self, enemy, attack, damage, force):
        pass
# -*- coding: utf-8 -*-

import random
from src.sprites.characters.behaviours.MasterBehaviourState import *
# from src.sprites.characters.behaviours.death.MasterFollowPlayerState import *
from src.sprites.Character import *
from src.sprites.MySprite import *
from src.sprites.EnemyRange import *

# ------------------------------------------------------------------------------
# Clase MasterStillState

class MasterStillState(MasterBehaviourState):
    def __init__(self):
        MasterBehaviourState.__init__(self)
        # self.starting = True

    def move_ai(self, enemy, player):
        pass

    def update(self, enemy, time, mapRect, mapMask):
        # if self.starting:
        #     print("setting frame 4")
        #     enemy.set_initial_frame(4)
        #     self.starting = False
        # Se actualiza la animación del personaje
        Character.update_animation(enemy, time)
        MySprite.update(enemy, time)

    def receive_damage(self, enemy, attack, damage, force):
        pass
# -*- coding: utf-8 -*- # from src.sprites.characters.behaviours.death.MasterFollowPlayerState import * # ------------------------------------------------------------------------------ # Clase MasterStillState # self.starting = True # if self.starting: #     print("setting frame 4") #     enemy.set_initial_frame(4) #     self.starting = False # Se actualiza la animación del personaje