public LinkGenericAbstractState(LinkPlayer link, bool damaged, DateTime healthyDateTime)
 {
     this.link            = link;
     this.healthyDateTime = healthyDateTime;
     this.damaged         = damaged;
     spawnOffset          = Point.Zero;
     InitClass();
 }
 public LinkGenericAbstractState(LinkPlayer link)
 {
     this.link       = link;
     healthyDateTime = DateTime.Now;
     damaged         = false;
     spawnOffset     = Point.Zero;
     InitClass();
 }
 public LinkPickingUpItemState(LinkPlayer link, LinkConstants.ItemType itemType, bool damaged, DateTime healthyDateTime) : base(link, damaged, healthyDateTime)
 {
     this.link            = link;
     this.healthyDateTime = healthyDateTime;
     this.damaged         = damaged;
     spawnOffset          = Point.Zero;
     this.itemType        = itemType;
     InitClass();
 }
 public LinkWalkingState(LinkPlayer link, Constants.Direction direction, bool damaged, DateTime healthyDateTime)
 {
     this.link            = link;
     this.healthyDateTime = healthyDateTime;
     this.damaged         = damaged;
     spawnOffset          = Point.Zero;
     link.FacingDirection = direction;
     stillMoving          = true;
     InitClass();
 }
Exemple #5
0
 public NumberManager(LinkPlayer link)
 {
     this.link = link;
     InitNumberArrays();
 }
Exemple #6
0
 public LinkStandingStillState(LinkPlayer link) : base(link)
 {
 }
Exemple #7
0
 public LinkStandingStillState(LinkPlayer link, bool damaged, DateTime healthyDateTime) : base(link, damaged, healthyDateTime)
 {
 }
Exemple #8
0
 public LinkAttackingState(LinkPlayer link, bool damaged, DateTime healthyDateTime) : base(link, damaged, healthyDateTime)
 {
     // handled by parent constructor
 }
 public LinkDeathState(LinkPlayer link, bool damaged, DateTime healthyDateTime) : base(link, damaged, healthyDateTime)
 {
     //Handled by Parent
 }