Update of /project/gamelib/cvsroot/source In directory clnet:/tmp/cvs-serv16209
Modified Files: generics.lisp Log Message: IM Now with doc strings!
Index: generics.lisp =================================================================== RCS file: /project/gamelib/cvsroot/source/generics.lisp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** generics.lisp 30 Dec 2006 19:12:36 -0000 1.1 --- generics.lisp 30 Dec 2006 19:19:29 -0000 1.2 *************** *** 1,5 **** (in-package #:net.hexapodia.games-2d)
! (defgeneric draw (object)) ! (defgeneric movement (object)) ! (defgeneric (setf movement) (object)) --- 1,14 ---- (in-package #:net.hexapodia.games-2d)
! (defgeneric draw (object) ! (:documentation "Draw a graphics object into the relevant window ! (objects that move will have their associated window tied from the object)")) ! ! (defgeneric move (object) ! (:documentation "Make an object move, if it is an animated object, also switch ! to the next animation")) ! ! (defgeneric movement (object) ! (:documentation "Returns movement (dx / dy) for a movable object.")) ! (defgeneric (setf movement) (value object) ! (:documentation "Sets movement (dx / dy) for a movable object."))