halive.shootinoutside.common.core.game.map.ItemLayer.java Source code

Java tutorial

Introduction

Here is the source code for halive.shootinoutside.common.core.game.map.ItemLayer.java

Source

/*******************************************************************************
 * Copyright (c) HALive, 2015.
 * For Licence information see LICENSE.md
 ******************************************************************************/

package halive.shootinoutside.common.core.game.map;

import halive.shootinoutside.common.core.game.entities.Item;
import org.json.simple.JSONObject;

//TODO Implement proper ItemLayer once The game Itself works.
//Placeholder for now.
public class ItemLayer {

    private Item[] items;

    public static ItemLayer fromJSONObject(JSONObject obj) {
        return new ItemLayer();
    }

    public static ItemLayer createFromByteArray(byte[] b, int offset, int length) {
        return new ItemLayer();
    }

    public JSONObject serializeToJSON() {
        return new JSONObject();
    }
}