Пример #1
0
 @Override
 public void draw(Canvas canvas) {
   canvas.drawColor(Color.BLACK);
   for (LoveChar loveChar : loveChars) {
     loveChar.draw(canvas);
   }
 }
Пример #2
0
 @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();
   }
 }
Пример #3
0
 @Override
 public void update() {
   for (LoveChar loveChar : loveChars) {
     loveChar.update();
   }
 }