public World()
	{
		this.lifetime = 0;
		this.tiles = new int[SIZE][SIZE];
		this.entities = new ArrayList<Entity>();
		this.random = Game.instance.random;
		this.generate();
		
		int x = SIZE/2, y = SIZE/2;
		while(!Tile.tiles.get(this.tiles[x][y]).isWalkable())
		{
			x = this.random.nextInt(SIZE);
			y = this.random.nextInt(SIZE);
		}
		this.player = new EntityPlayer(this, x, y);
		
		for(int i = 0; i < this.KIDS; i++)
		{
			x = this.random.nextInt(SIZE);
			y = this.random.nextInt(SIZE);
			while(this.tiles[x][y] != Tile.GRASS)
			{
				x = this.random.nextInt(SIZE);
				y = this.random.nextInt(SIZE);
			}
			this.entities.add(new EntityKid(this, x, y, i));
		}
		
		for(int i = 0; i < this.KIDS; i++)
		{
			x = this.random.nextInt(SIZE);
			y = this.random.nextInt(SIZE);
			while(this.tiles[x][y] != Tile.GRASS)
			{
				x = this.random.nextInt(SIZE);
				y = this.random.nextInt(SIZE);
			}
			this.entities.add(new EntityGift(this, x, y));
		}
	}