CPOffScreenSprite

org.cosplay.CPOffScreenSprite$
See theCPOffScreenSprite companion class

Companion object with utility functions.

Attributes

Companion
class
Source
CPOffScreenSprite.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

Source
CPOffScreenSprite.scala