diff --git a/src/moveroneshot.hpp b/src/moveroneshot.hpp index 21b35d7..37c30fd 100644 --- a/src/moveroneshot.hpp +++ b/src/moveroneshot.hpp @@ -1,6 +1,12 @@ #ifndef id9CDCF10D483641A2845353C0835F93EC #define id9CDCF10D483641A2845353C0835F93EC +//Move a Placeable by issuind an offset. +//The offset is applied to the current position of the Placeable you are +//moving. +//For example issuing 1, then 2 will put your Placeable in position 3, +//assuming it started at 0. + #include "vector.hpp" #include "mover.hpp" diff --git a/src/moverrelative.hpp b/src/moverrelative.hpp index 8766f87..618f43c 100644 --- a/src/moverrelative.hpp +++ b/src/moverrelative.hpp @@ -1,6 +1,12 @@ #ifndef idBAA1271995604A659EF3FEC4B8FC3870 #define idBAA1271995604A659EF3FEC4B8FC3870 +//Move a Placeable by issuing an offset relative to a base position. +//Use this if for example your Placeable is following a mathematical formula or +//if you're giving a position you want it to be at any specific time. +//For example issuing 1, then 2 will put your Placeable in position 2, +//assuming it started at 0. + #include "mover.hpp" namespace cloonel {