Android Open Source - DemiGod Map

From Project

Back to project page DemiGod.


The source code is released under:

GNU General Public License

If you think the Android project DemiGod listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

//from w w w  .  j a  v  a2s .c o m
import java.util.ArrayList;

import android.content.Context;

public class Map {

  Context context;

  private ArrayList<Tile> tiles, objects;
  private String mapName;
  private int width, height;

  public Map() {

  public ArrayList<Tile> getTiles() {
    return tiles;

  public void setTiles(ArrayList<Tile> tiles) {
    this.tiles = tiles;

  public ArrayList<Tile> getObjects() {
    return objects;

  public void setObjects(ArrayList<Tile> objects) {
    this.objects = objects;

  public String getMapName() {
    return mapName;

  public void setMapName(String mapName) {
    this.mapName = mapName;

  public int getWidth() {
    return width;

  public void setWidth(int width) {
    this.width = width;

  public int getHeight() {
    return height;

  public void setHeight(int height) {
    this.height = height;


Java Source Code List