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; }
public FirstPersonCamera(MineClone game) { this.game = game; }