Ejemplo n.º 1
0
        public LocalPlayer(IWorldLocator worldlocator, IGameObjectsRepository repository)
        {
            this.worldlocator = worldlocator;

            var obj = repository.CreateGameObject();

            RobotPlayerPart = obj.GetComponent <RobotPlayerPart>();
        }
        public IslandPart CreateIsland()
        {
            var obj = repository.CreateGameObject();

            return(obj.GetComponent <IslandPart>());
        }