Report as inappropriate.
This clock simulation contains a support Actor subclass for decorating the background image of the world.
Steps in using a BgInk object:
(1) create a BgInk actor object, using:
BgInk ink = new BgInk();
(2) give it any image;
(3) add it to the world;
(4) rotate it and move it around as needed;
(5) set its final rotation;
(6) apply the ink to the background image of the world using:
ink.apply();
The final step applies the image to the background of the world accounting for the rotation of the actor and removes the BgInk object from the world.
The class is documented and gives an example of its use.
2929 views / 8 in the last 7 days
This scenario is a member of: Demos by danpost, Support Classes by danpost
There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)
This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.
Want to leave a comment? You must first log in.
No votes yet.
2015/2/27