Ejemplo n.º 1
0
 public Hint(Game game, Model model, Spieler spieler, Vector2 ziel) : base(game)
 {
     this.model   = model;
     this.spieler = spieler;
     this.ziel    = new Vector3(ziel.X * 5, 1, (ziel.Y + 1) * 5 + 2.5f);
     Position     = new Vector3(spieler.Position.X, 1, spieler.Position.Z);
     Forward      = this.ziel - Position;
 }
Ejemplo n.º 2
0
 public ArcBallCamera(Game game, Spieler target) : this(game, target.Position - new Vector3(0, -2, 3), target)
 {
 }
Ejemplo n.º 3
0
 public Kompass(Game game, Model model, Spieler spieler) : base(game)
 {
     this.model   = model;
     this.spieler = spieler;
     Forward      = Vector3.Forward;
 }