from uk.co.nickthecoder.itchy import ZOrderStage, StageView, GridStageConstraint, WrappedStageView # @UnusedImport from uk.co.nickthecoder.itchy.util import ClassName, Util # @UnusedImport from uk.co.nickthecoder.itchy.collision import StandardNeighbourhood, NeighbourhoodCollisionStrategy, WrappedCollisionStrategy # @UnusedImport from uk.co.nickthecoder.itchy.role import PlainRole, ButtonRole, ProgressBar, MouseRole # @UnusedImport from uk.co.nickthecoder.itchy.role import Companion, Follower, Explosion, OnionSkin, Projectile, Talk, TalkProjectile # @UnusedImport from uk.co.nickthecoder.itchy.role import FollowerBuilder, ExplosionBuilder, OnionSkinBuilder, ProjectileBuilder, TalkBuilder, TalkProjectileBuilder # @UnusedImport from uk.co.nickthecoder.itchy.extras import Timer, SceneTransition, AnimationSceneTransition, SimpleMousePointer, Fragments, Pixelator # @UnusedImport from uk.co.nickthecoder.itchy.property import StringProperty, BooleanProperty, DoubleProperty, IntegerProperty # @UnusedImport from uk.co.nickthecoder.itchy.property import FileProperty, ChoiceProperty, RGBAProperty # @UnusedImport from uk.co.nickthecoder.jame import Surface, Rect, RGBA # @UnusedImport from uk.co.nickthecoder.jame.event import MouseButtonEvent # @UnusedImport from java.util import ArrayList # @UnusedImport from java.util import Random # @UnusedImport from java.io import File # @UnusedImport import math # @UnusedImport import time # @UnusedImport game = Itchy.getGame()
def onBirth(self) : self.addTag( "collectable" ) Itchy.getGame().getSceneDirector().collectables += 1