I want to have like apples and oranges and other fruit falling from the ceiling of my game and don't know how to structure it? I don't know how I would start this class or would it have to be structured differently?
package { import flash.display.MovieClip; public class FallingObjects extends MovieClip { public var army:Array; public var apples:apple; public var gameTimer:Timer;
public function FallingObjects() { army = Array(); var newApple = apple(100, 30); army.push (newApple); addChild(newApple); }