Ejemplo n.º 1
0
 public Player(Vector2 position)
     : base(position)
 {
     Health = 100.0f;
     TexturePath = ("player");
     Speed = 8.0f;
     Mass = 2.0f;
     this.ActiveThinkDelay = 10;
     this.InActiveThinkDelay = 10;
     this.DrawLayer = 1000;
     Friction = 0.3f;
     aim = new Cursor(this);
     this.PrimaryWeapon = new Pistol(this);
 }
Ejemplo n.º 2
0
 public Player()
     : base()
 {
     Health = 100.0f;
     TexturePath = ("player");
     Speed = 8.0f;
     Mass = 2.0f;
     this.ActiveThinkDelay = 10;
     this.InActiveThinkDelay = 10;
     this.DrawLayer = 1000;
     Friction = 0.3f;
     aim = new Cursor(this);
     aim.Owner = this;
     CreateEntity(aim);
     this.PrimaryWeapon = new Pistol(this);
 }