Source code for Players
# CellTracking.py
# By MW, Jun 2013
# GPLv3+
#
# Class managing the Players
import imp
Player = imp.load_source("State", './bin/Players/Player.py') #
[docs]class Players :
def __init__(self) :
self.players_list = []
[docs] def new_player(self, state) :
"""Function returns a Player instance"""
p = Player.Player(state)
self.players_list.append(p)
return p