@Override public void draw(Canvas canvas) { canvas.drawColor(Color.BLACK); for (LoveChar loveChar : loveChars) { loveChar.draw(canvas); } }
@Override public void init() { loveChars = new ArrayList<LoveChar>(); loveChars.add(new LoveCharI()); loveChars.add(new LoveCharL()); loveChars.add(new LoveCharO()); loveChars.add(new LoveCharV()); loveChars.add(new LoveCharE()); loveChars.add(new LoveCharU()); for (LoveChar loveChar : loveChars) { loveChar.init(); } }
@Override public void update() { for (LoveChar loveChar : loveChars) { loveChar.update(); } }