Ejemplo n.º 1
0
 public ZombieCharacter(Game game, Vector3 translation, Color color)
     : this(game)
 {
     this.Color = color;
     this.Translation = translation;
     this.bodyGraphics = new OrientedCircle(game, translation, this.Color, this.Radius);
     this.viewTriangleGraphics = new OrientedTriangle(game, GeometryHelper.GetViewTriangle(Vector3.Zero, Settings.DefaultOrientationVector, this.ViewDistance, this.ViewAngle));
     this.smellingGraphics = new Circle(game, translation, Color.Gray, this.SmellingRadius);
 }
Ejemplo n.º 2
0
 public HumanCharacter(Game game, Vector3 translation)
     : this(game)
 {
     this.Translation = translation;
     this.bodyGraphics = new OrientedCircle(game, translation, this.Color, this.Radius);
 }