示例#1
0
 public void Fire(Vector2D dir, Vector2D pos , int color = 0)
 {
     if (!living)
         return;
     Bullet b = new Stage01_EB01(texturemanager, dir, pos , color);
     b.Position.X = Position.X; b.Position.Y = Position.Y;
     bullet_toAdd.Add(b);
 }
示例#2
0
 public override void Fire()
 {
     if (!living)
         return;
     Bullet b = new Stage01_EB01(texturemanager,new Vector2D(0,-1) , Position);
     b.Position.X = Position.X; b.Position.Y = Position.Y;
     bullet_toAdd.Add(b);
 }