public class Game1 : Microsoft.Xna.Framework.Game
{
GraphicsDeviceManager graphics;
SpriteBatch spriteBatch;
public Game1()
{
graphics = new GraphicsDeviceManager(this);
Content.RootDirectory = "Content";
}
protected override void Initialize()
{
base.Initialize();
}
bool hasJumped = true;
Vector2 velocity;
Texture2D player;
Texture2D ground1;
List<Vector2> vectors = new List<Vector2>();
List<int> list = new List<int>();
List.add(1);
List.add(1);
导致2个错误"Invalid Token '(' in class,struct,or interface member declaration"
和"using the generetic type 'System.Collections.Generic.List<T>' requiers 1type arguments"
发生了什么事请告诉我