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"
何が起こっているのか教えてください