From 62f7ac019df12d6fdf84f8e23cb6d28627572cbb Mon Sep 17 00:00:00 2001 From: Marion Date: Thu, 18 Jul 2013 10:52:31 +0000 Subject: add documentation of terms used in tasprite_factory --- diff --git a/TurtleArt/tasprite_factory.py b/TurtleArt/tasprite_factory.py index d44a9e2..2bd8993 100755 --- a/TurtleArt/tasprite_factory.py +++ b/TurtleArt/tasprite_factory.py @@ -30,6 +30,20 @@ from taconstants import HIT_RED, HIT_GREEN, HIDE_WHITE, SHOW_WHITE, \ class SVG: + """ Interface to the graphical representation of blocks, turtles, + palettes, etc. on screen + + terms used here: + docks -- list of connection points of a block to other blocks + innies -- right hand side docks of a block, argument slots + outie -- left hand side dock of a block + slot -- top dock of a block that can be attached to other blocks + cap -- top dock of a block that cannot be attached to other blocks + tab -- bottom dock of a block if other blocks can be attached + tail -- bottom dock of a block if no other blocks can be attached + arm -- connection point of a branching block (if-then, loops) where + inner blocks are attached + else -- optional second `arm' for if-then-else blocks """ def __init__(self): self._x = 0 -- cgit v0.9.1