Revolutionary-Games/Thrive — pull request #96 by jjonj (2014-02-06 15:51:02+00:00)
Title: Basic microbe editor

This is an incomplete solution to #95.

As we don't have any gui library atm it currently just uses keyboard input.
C - creates a new microbe
S - Adds a storage organelle (currently specialized for ATP)
F - adds a forward movement organelle
B - Adds a backwards movement organelle
M - Adds a mitochondria

When using the above keys to add an organelle, the position will be based on axial coordinate system used for the hexagon grid. (see http://www.redblobgames.com/grids/hexagons/ under axial coordinates)
Typing numbers 0-9 will set q and r coordinates toggling between which is set.The minus key can be used to have the next number as a negative (American keyboard layout).

F2 - Switches into the microbe stage with the new microbe (uses some strange hacks to transfer the microbe)