Ejemplo n.º 1
0
        public BasicDraw(MineClone game)
        {
            this.game = game;
            //effect.VertexColorEnabled = true;
            Texture2D texture = game.Content.Load <Texture2D>("textures");

            effect = game.Content.Load <Effect>("File");

            effect.Parameters["SpriteTexture"].SetValue(texture);

            //effect.Texture = texture;
            //effect.TextureEnabled = true;
        }
Ejemplo n.º 2
0
 public FirstPersonCamera(MineClone game)
 {
     this.game = game;
 }