summaryrefslogtreecommitdiff
path: root/2d/transform.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-05-07 18:35:36 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-05-07 18:35:36 -0400
commit9aaf017b70fb9474d3c5be22a27dfcc86d8b41c1 (patch)
treee0e4d7ea975c483ceab1b748c6ae9264f731a303 /2d/transform.scm
parenta316893a68ae44a100d6dc5be34bf2c7d582e9ca (diff)
Make sprites immutable.
* 2d/sprite.scm (<sprite>): Make immutable. (set-sprite-drawable!, set-sprite-position!, set-sprite-scale!) (set-sprite-rotation!, set-sprite-color!, set-sprite-anchor!): Delete. (set-sprite-drawable, set-sprite-position, set-sprite-scale) (set-sprite-rotation, set-sprite-color, set-sprite-anchor): New procedures. * examples/coroutine.scm: * examples/particles.scm: Use immutable sprite setters.
Diffstat (limited to '2d/transform.scm')
0 files changed, 0 insertions, 0 deletions