CPOffScreenSprite

Companion object with utility functions.

Companion:
class
Source:
CPOffScreenSprite.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

Convenient shortcut to create off-screen sprite with a function that takes scene object context.

Convenient shortcut to create off-screen sprite with a function that takes scene object context.

Value parameters:
f

Function that takes scene object context to perform an action on each CPSceneObject.update callback.

Source:
CPOffScreenSprite.scala