Пример #1
0
        public Agua()
        {
            animacao = new AnimacaoDeSprites();

            animacao.Animacoes.Add("vazio", new Animacao(64, 64, 1, 1, false, false, 0, 0));
            animacao.Animacoes.Add("metade", new Animacao(64, 64, 1, 1, false, false, 64, 0));
            animacao.Animacoes.Add("cheio", new Animacao(64, 64, 1, 1, false, false, 128, 0));

            animacao.AnimacaoAtual = "cheio";
            animacao.pararAnimacao();
        }
Пример #2
0
 public void Pausar()
 {
     animacao.pararAnimacao();
 }