public virtual void Bat3(ContentManager Content, String nameDir, String nameFile, int frameCount, float timePerFrame) { bat3 = new BasicAnimatedSprite(); bat3.LoadContent(Content, nameDir, nameFile, frameCount, timePerFrame); }
//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); }
public virtual void Snaks2(ContentManager Content, String nameDir, String nameFile, int frameCount, float timePerFrame) { snake2 = new BasicAnimatedSprite(); snake2.LoadContent(Content, nameDir, nameFile, frameCount, timePerFrame); }