Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
authorMarion <marion.zepf@gmail.com>2013-07-18 10:52:31 (GMT)
committer Marion <marion.zepf@gmail.com>2013-07-18 10:52:31 (GMT)
commit62f7ac019df12d6fdf84f8e23cb6d28627572cbb (patch)
tree0cc0a57090528c8bbd7ae4d8a9b4a65e710e027b /TurtleArt
parentb0ddc5ccbfcf839e5dce2ccd2b784ab8ff4c4b33 (diff)
add documentation of terms used in tasprite_factory
Diffstat (limited to 'TurtleArt')
-rwxr-xr-xTurtleArt/tasprite_factory.py14
1 files changed, 14 insertions, 0 deletions
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