示例#1
0
文件: Game1.cs 项目: kozupi/--
 private void initializeModels()
 {
     new BasicModel(this, Content.Load<Model>(@"Models\NewGameWorld"), Matrix.CreateScale(worldRadius));
     new BasicModel(this, Content.Load<Model>(@"Models\Buildings\Floor"), Matrix.CreateScale(new Vector3(worldRadius / 5, 1.0f, worldRadius / 5)));
     player = new Player(this, new Vector3(0, 1600, 500), worldRadius);
     spawnRing = new Ring(this, new Vector3(0, 2000, 0));
 }
示例#2
0
文件: Intro.cs 项目: kozupi/--
 public Intro(Game game, Player player, Camera camera)
     : base(game)
 {
     player.removeComponent<Controllable>();
 }