Exemplo n.º 1
0
 public GenericFace(BasicCube cube, ModelManager modelManager, int faceId)
 {
     parentCube = cube;
     this.faceId = faceId;
     this.modelManager = modelManager;
     this.game = modelManager.getGame();
 }
Exemplo n.º 2
0
        public Inky(Model model, Game game, ModelManager modelManager, Vector3 startPosition, int onFace)
            : base(model, game)
        {
            this.onFace = onFace;
            this.random = new Random();
            this.game = modelManager.getGame();
            texture = modelManager.screenManager.texManager.getInkyTexture();
            position = startPosition;
            handleOrientation();

            effect = ((Spectrum)game).grayEffect;
        }
Exemplo n.º 3
0
 public LevelCreator(ModelManager modelManager)
 {
     this.modelManager = modelManager;
     this.game = modelManager.getGame();
     cubeModel = modelManager.getCubeModel();
 }