Пример #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>();
 }