def __init__()

in forge/blade/entity/player.py [0:0]


   def __init__(self, entID, color, config):
      self._config = config

      self._R, self._C = config.R, config.C
      self._pos = config.SPAWN()
      self._lastPos = self.pos

      self._food   = Stat(config.FOOD, config.FOOD)
      self._water  = Stat(config.WATER, config.WATER)
      self._health = Stat(config.HEALTH, config.HEALTH)

      self._entID = entID
      self._name = 'Neural_' + str(self._entID)
      self._timeAlive = 0

      self._damage = None
      self._freeze = 0
      self._immune = True
      self._kill = False

      self._annID, self._color = color
      self._colorInd = self._annID
      self._attackMap = np.zeros((7, 7, 3)).tolist()

      self._index = 1
      self._immuneTicks = 15

      self.move   = None
      self.attack = None