示例#1
0
 public Mob(PhysicsObject pho, DrawingObject dro)
 {
     physobj = pho;
     drawobj = dro;
     physobj.size = 40;
 }
示例#2
0
 public Collidable(PhysicsObject pho, DrawingObject dro, CollideMode shape)
     : base(pho, dro)
 {
     physobj.shape = shape;
     physobj.size = Drawing.scale * (int)drawobj.cent.X;
 }
示例#3
0
 public Enemy(PhysicsObject pho, DrawingObject dro)
     : base(pho, dro)
 {
     brain = new DogBrain(this);
     brain.curplan = AIMode.bounce;
 }
示例#4
0
 public Player(TankBase pho, DrawingObject dro, DrawingObject tur)
     : base(pho, dro)
 {
     physobj = pho;
     turdraw = tur;
     turdraw.cent = new Vector2(10, 13);
     turangle = 0;
 }