예제 #1
0
        public Player(Game game, int id, PlayerController controller)
        {
            this.id         = id;
            resources       = new ResourceTotality();
            resourceLimits  = new ResourceTotality();
            ownedObjects    = new Dictionary <int, GameObject>();
            this.controller = controller;
            this.game       = game;

            Resources.AddAll(10);
        }