Commit 92ddf7a4 authored by Orbmancer's avatar Orbmancer
Browse files

Merge branch 'master' of gitlab.utc.fr:enormand/VVVVVV_level_merger

parents 4573e907 7603656e
<?php
class Contents
{
private $mapwidth;
private $mapheight;
private $contents;
public function __construct() {
$this->contents = null;
$this->mapwidth = 5;
$this->mapheight = 5;
}
public function importXML($string) {
$xml = simplexml_load_string($string);
$this->content = $xml->Data->contents->__toString();
}
public function setContents($contents) {
$this->contents = $contents;
}
public function getContents() {
return $this->contents;
}
public function getTab($x, $y) {
}
}
\ No newline at end of file
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment