Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 23 lines (17 sloc) 0.62 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#include "world.h"
#include "version.h"

Cworld::Cworld() {
//domyslne wartosci zmiennych

this->name = "Somewhere in the bush";
this->x_theritory_size = DEFAULT_THERITORY_X;
this->y_theritory_size = DEFAULT_THERITORY_Y;
this->gravity = DEFAULT_GRAVITY;
this->cl_version = SYSTEM_CLASS_VERSION;
};

Cworld::Cworld( std::string new_name, uint64_t x, uint64_t y, uint64_t g ) { //maxX, maxY, grawitacja
//wartosci szerokosci i wysokosci tabeli theritory swiata podane przez kreatora swiata
this->x_theritory_size = x;
this->y_theritory_size = y;
this->gravity = g;
this->cl_version = SYSTEM_CLASS_VERSION;
};


Something went wrong with that request. Please try again.