diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-05-07 18:35:36 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-05-07 18:35:36 -0400 |
commit | 9aaf017b70fb9474d3c5be22a27dfcc86d8b41c1 (patch) | |
tree | e0e4d7ea975c483ceab1b748c6ae9264f731a303 /2d/wrappers/util.scm | |
parent | a316893a68ae44a100d6dc5be34bf2c7d582e9ca (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/wrappers/util.scm')
0 files changed, 0 insertions, 0 deletions