示例#1
0
 public SpaceShipDecorator(SpaceShip spaceShip)
 {
     Bullets             = spaceShip.Bullets;
     Position            = spaceShip.Position;
     _decoratedSpaceShip = spaceShip;
     BaseDamage          = spaceShip.BaseDamage;
 }
示例#2
0
 public DoubleShotSpaceShipDecorator(SpaceShip spaceShip) :
     base(spaceShip)
 {
 }