Untitled

mail@pastecode.io avatar
unknown
java
2 months ago
782 B
0
Indexable
Never
import ru.ifmo.se.pokemon.*;
import pokemonsnmoves.pokemons.*;
public class Main
{
    public static void main(String[] args)
    {
        Battle b = new Battle();
        Pokemon Arceus = new Arceus("Булочка", 50);
        Pokemon Sandshrew = new Sandshrew("Пирожок", 50);
        Pokemon Sandslash = new Sandslash("Бублик", 50);
        Pokemon Slakoth = new Slakoth("Ленивец", 50);
        Pokemon Vigoroth = new Vigoroth("Ленивец побольше", 50);
        Pokemon Slaking = new Slaking("Король ленивцев", 50);
        b.addAlly(Arceus);
        b.addAlly(Sandshrew);
        b.addAlly(Sandslash);
        b.addFoe(Slakoth);
        b.addFoe(Vigoroth);
        b.addFoe(Slaking);
        b.go();
    }
}
Leave a Comment