Exemplo n.º 1
0
Arquivo: Virus.cs Projeto: Wydra/LD24
 public static Virus Build()
 {
     Virus virus = new Virus(GameAssets.Virus1, new Rectangle(0, 0, 16, 32));
     Animation anim = new Animation(2, 16, 32, 0, 0);
     virus.IsAnimating = true;
     virus.Animation = anim;
     anim.FramesPerSecond = 2;
     return virus;
 }
Exemplo n.º 2
0
Arquivo: Cell.cs Projeto: Wydra/LD24
 public void AddVirus(Virus virus)
 {
 }