Removed Unused imports

master
Edward Peterson 9 years ago
parent 3f2dbca0f4
commit bbd4c068ca

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" renderorder="right-up" width="50" height="50" tilewidth="16" tileheight="16" nextobjectid="166"> <map version="1.0" orientation="orthogonal" renderorder="right-up" width="50" height="50" tilewidth="16" tileheight="16" nextobjectid="232">
<tileset firstgid="1" name="env" tilewidth="16" tileheight="16" tilecount="64" columns="8"> <tileset firstgid="1" name="env" tilewidth="16" tileheight="16" tilecount="64" columns="8">
<image source="env.png" width="128" height="128"/> <image source="env.png" width="128" height="128"/>
</tileset> </tileset>
@ -370,4 +370,46 @@
</properties> </properties>
</object> </object>
</objectgroup> </objectgroup>
<objectgroup name="pathfinding">
<object id="187" x="496" y="400" width="304" height="160"/>
<object id="188" x="624" y="560" width="176" height="224"/>
<object id="190" x="32" y="32" width="240" height="112"/>
<object id="191" x="16" y="48" width="16" height="80"/>
<object id="192" x="272" y="48" width="16" height="80"/>
<object id="193" x="288" y="80" width="16" height="32"/>
<object id="194" x="304" y="32" width="112" height="80"/>
<object id="195" x="352" y="112" width="32" height="48"/>
<object id="196" x="304" y="160" width="112" height="96"/>
<object id="197" x="416" y="192" width="16" height="32"/>
<object id="198" x="432" y="80" width="128" height="160"/>
<object id="199" x="480" y="240" width="32" height="80"/>
<object id="200" x="352" y="304" width="64" height="64"/>
<object id="202" x="576" y="352" width="32" height="48"/>
<object id="203" x="368" y="368" width="32" height="64"/>
<object id="204" x="304" y="432" width="160" height="128"/>
<object id="205" x="432" y="560" width="32" height="48"/>
<object id="206" x="368" y="608" width="224" height="160"/>
<object id="207" x="592" y="688" width="32" height="32"/>
<object id="208" x="336" y="704" width="32" height="32"/>
<object id="209" x="304" y="560" width="32" height="240"/>
<object id="210" x="0" y="768" width="304" height="32"/>
<object id="212" x="0" y="592" width="144" height="96"/>
<object id="213" x="144" y="640" width="16" height="32"/>
<object id="214" x="160" y="592" width="128" height="96"/>
<object id="215" x="288" y="640" width="16" height="32"/>
<object id="216" x="16" y="400" width="240" height="144"/>
<object id="217" x="208" y="544" width="32" height="48"/>
<object id="218" x="64" y="544" width="32" height="48"/>
<object id="219" x="128" y="352" width="32" height="48"/>
<object id="221" x="16" y="192" width="96" height="128"/>
<object id="222" x="112" y="192" width="176" height="80"/>
<object id="223" x="288" y="208" width="16" height="32"/>
<object id="224" x="128" y="144" width="32" height="48"/>
<object id="225" x="720" y="80" width="64" height="16"/>
<object id="226" x="704" y="96" width="96" height="128"/>
<object id="227" x="720" y="224" width="64" height="16"/>
<object id="228" x="736" y="240" width="32" height="160"/>
<object id="229" x="16" y="320" width="336" height="32"/>
<object id="230" x="416" y="320" width="192" height="32"/>
</objectgroup>
</map> </map>

@ -1,28 +1,11 @@
package com.toasted.chuck; package com.toasted.chuck;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.maps.MapLayer;
import com.badlogic.gdx.maps.MapObject;
import com.badlogic.gdx.maps.objects.RectangleMapObject;
import com.badlogic.gdx.maps.tiled.TiledMap;
import com.badlogic.gdx.maps.tiled.TiledMapTileLayer;
import com.badlogic.gdx.maps.tiled.TmxMapLoader;
import com.badlogic.gdx.maps.tiled.renderers.OrthogonalTiledMapRenderer;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.toasted.chuck.entities.Entity;
import com.toasted.chuck.entities.EntityBox;
import com.toasted.chuck.entities.EntityPlayer;
import com.toasted.chuck.entities.EntityTorch;
public class ChuckGame extends ApplicationAdapter implements InputProcessor{ public class ChuckGame extends ApplicationAdapter implements InputProcessor{
Graphics graphics; Graphics graphics;

@ -1,9 +1,6 @@
package com.toasted.chuck; package com.toasted.chuck;
import java.util.ArrayList;
import com.badlogic.gdx.math.Rectangle;
import com.toasted.chuck.entities.Entity;
public interface EntityController { public interface EntityController {
public void acceptEvent(int keycode, boolean newState, Level world); public void acceptEvent(int keycode, boolean newState, Level world);

@ -3,7 +3,6 @@ package com.toasted.chuck.entities;
import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.maps.MapProperties; import com.badlogic.gdx.maps.MapProperties;
import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.math.Rectangle;
import com.toasted.chuck.ChuckGame;
import com.toasted.chuck.Graphics; import com.toasted.chuck.Graphics;
import com.toasted.chuck.Level; import com.toasted.chuck.Level;

Loading…
Cancel
Save