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.
2924 views / 10 in the last 7 days
This scenario is a member of: Demos by danpost, Support Classes by danpost
Want to leave a comment? You must first log in.
No votes yet.
2015/2/27