// load beaver images to use in our animation
Image beaver = new Image("data/bazooka4.png");
Image beaver2 = new Image("data/bazooka5.png");
Image[] frames = {beaver.getFlippedCopy(false, true).getScaledCopy(0.5f), beaver2.getFlippedCopy(false, true).getScaledCopy(0.5f)};
Image[] frames2 = {beaver.getFlippedCopy(true, true).getScaledCopy(0.5f), beaver2.getFlippedCopy(true, true).getScaledCopy(0.5f)};
team1Moving = new Animation(frames, 1000, false); // duration in ms
team1MovingR = new Animation(frames2, 1000, false); // duration in ms
Image beaver3 = new Image("data/darkBazooka4.png");
Image beaver4 = new Image("data/darkBazooka5.png");
Image[] frames3 = {beaver3.getFlippedCopy(false, true).getScaledCopy(0.5f), beaver4.getFlippedCopy(false, true).getScaledCopy(0.5f)};
Image[] frames4 = {beaver3.getFlippedCopy(true, true).getScaledCopy(0.5f), beaver4.getFlippedCopy(true, true).getScaledCopy(0.5f)};
team2Moving = new Animation(frames3, 1000, false); // duration in ms
team2MovingR = new Animation(frames4, 1000, false); // duration in ms
// add the mouse listener
gc.getInput().addMouseListener(this);
//add two items to the world