Renamed solutions to examples (colobot/colobot#502)

coolant-mod
krzys-h 2015-07-13 19:03:34 +02:00
parent d94c01127f
commit 6d56bc546d
38 changed files with 38 additions and 38 deletions

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
turn(90);
while (true)

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
grab();

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
aim(-3);
while ( true )

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
point start;
start = position; // remember starting position

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
while ( true )
{

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
float dir;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
float dir, len;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
while ( true )
{

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
for ( int i=0 ; i<6 ; i=i+1 ) // repeat 6 times
{

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
for ( int i=0 ; i<4 ; i=i+1 ) // repeat 4 times
{

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
object front, left, right;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
while ( true )
{

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
move(20); // go to checkpoint 1
turn(90);

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
float dist, dir;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
float dist, dir;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
Square(15);
Square(25);

View File

@ -7,7 +7,7 @@ void object::Part(float length)
}
}
extern void object::Solution( )
extern void object::Example( )
{
float rest = 25;
while ( rest > 0 )

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
object item;
float dir, dist;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
while ( true )
{

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
object item;
point dest;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
for ( int i=0 ; i<3 ; i=i+1 )
{

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
for ( int i=0 ; i<2 ; i=i+1 )
{

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
object item;
point dest;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
for ( int y=0 ; y<6 ; y=y+1 )
{

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
aim(0);

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
move(20);

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
while ( true )
{

View File

@ -1,4 +1,4 @@
extern void object::Solution( )
extern void object::Example( )
{
while ( true )
{

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;

View File

@ -1,4 +1,4 @@
extern void object::Solution()
extern void object::Example()
{
object item;