Exemplo n.º 1
0
 public virtual void Bat3(ContentManager Content, String nameDir, String nameFile, int frameCount, float timePerFrame)
 {
     bat3 = new BasicAnimatedSprite();
     bat3.LoadContent(Content, nameDir, nameFile, frameCount, timePerFrame);
 }
Exemplo n.º 2
0
 //Loading metodo para animaciones con multiples archivos (BasicAnimatedSprite)
 public virtual void LoadContent_WalkRight(ContentManager Content, String nameDir, String nameFile, int frameCount, float timePerFrame)
 {
     walkRigh = new BasicAnimatedSprite();
     direccion = SideDirection.Move_Right;
     walkRigh.LoadContent(Content, nameDir, nameFile, frameCount, timePerFrame);
 }
Exemplo n.º 3
0
 public virtual void Snaks2(ContentManager Content, String nameDir, String nameFile, int frameCount, float timePerFrame)
 {
     snake2 = new BasicAnimatedSprite();
     snake2.LoadContent(Content, nameDir, nameFile, frameCount, timePerFrame);
 }