diff --git a/allclasses-index.html b/allclasses-index.html index cf47e0d02..e5be6abe2 100644 --- a/allclasses-index.html +++ b/allclasses-index.html @@ -631,8 +631,12 @@

All Classes and Interfaces<
Factory for creating game terrains.
-
TerrainFactory.TerrainType
-
 
+
TerrainFactory.Grid
+
 
+
TerrainFactory.TerrainType
+
 
+
TerrainFactory.Tile
+
 
TerrainGrid
 
TerrainTile
diff --git a/com/csse3200/game/areas/terrain/TerrainFactory.Array.html b/com/csse3200/game/areas/terrain/TerrainFactory.Array.html new file mode 100644 index 000000000..a5f9d712a --- /dev/null +++ b/com/csse3200/game/areas/terrain/TerrainFactory.Array.html @@ -0,0 +1,161 @@ + + + + +TerrainFactory.Array (core 1.0 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class TerrainFactory.Array

+
+
java.lang.Object +
com.csse3200.game.areas.terrain.TerrainFactory.Array
+
+
+
+
Enclosing class:
+
TerrainFactory
+
+
+
public class TerrainFactory.Array +extends Object
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Array

      +
      public Array()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      main

      +
      public static void main(String[] args)
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/com/csse3200/game/areas/terrain/TerrainFactory.Grid.html b/com/csse3200/game/areas/terrain/TerrainFactory.Grid.html new file mode 100644 index 000000000..dea504ba4 --- /dev/null +++ b/com/csse3200/game/areas/terrain/TerrainFactory.Grid.html @@ -0,0 +1,213 @@ + + + + +TerrainFactory.Grid (core 1.0 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class TerrainFactory.Grid

+
+
java.lang.Object +
com.csse3200.game.areas.terrain.TerrainFactory.Grid
+
+
+
+
Enclosing class:
+
TerrainFactory
+
+
+
public static class TerrainFactory.Grid +extends Object
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Grid

      +
      public Grid(int numRows, + int numCols)
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      placeObject

      +
      public void placeObject(int row, + int col, + Object object)
      +
      +
    • +
    • +
      +

      getObject

      +
      public Object getObject(int row, + int col)
      +
      +
    • +
    • +
      +

      getLogCoordinates

      +
      public String getLogCoordinates(int row, + int col)
      +
      +
    • +
    • +
      +

      placeEntity

      +
      public void placeEntity(int row, + int col, + Object existingEntity)
      +
      +
    • +
    • +
      +

      getEntity

      +
      public Object getEntity(int row, + int col)
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/com/csse3200/game/areas/terrain/TerrainFactory.Tile.html b/com/csse3200/game/areas/terrain/TerrainFactory.Tile.html new file mode 100644 index 000000000..398c22a1d --- /dev/null +++ b/com/csse3200/game/areas/terrain/TerrainFactory.Tile.html @@ -0,0 +1,181 @@ + + + + +TerrainFactory.Tile (core 1.0 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class TerrainFactory.Tile

+
+
java.lang.Object +
com.csse3200.game.areas.terrain.TerrainFactory.Tile
+
+
+
+
Enclosing class:
+
TerrainFactory
+
+
+
public static class TerrainFactory.Tile +extends Object
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Tile

      +
      public Tile(int row, + int col)
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      setObject

      +
      public void setObject(Object object)
      +
      +
    • +
    • +
      +

      getObject

      +
      public Object getObject()
      +
      +
    • +
    • +
      +

      getLogCoordinates

      +
      public String getLogCoordinates()
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/com/csse3200/game/areas/terrain/TerrainFactory.html b/com/csse3200/game/areas/terrain/TerrainFactory.html index 18c50813f..e3191d705 100644 --- a/com/csse3200/game/areas/terrain/TerrainFactory.html +++ b/com/csse3200/game/areas/terrain/TerrainFactory.html @@ -90,9 +90,18 @@

Nested Class Summary

Modifier and Type
Class
Description
+
class 
+
TerrainFactory.Array
+
 
+
static class 
+
TerrainFactory.Grid
+
 
static enum 
TerrainFactory.TerrainType
 
+
static class 
+
TerrainFactory.Tile
+
 
diff --git a/com/csse3200/game/areas/terrain/package-summary.html b/com/csse3200/game/areas/terrain/package-summary.html index c8ab8f364..a326eed57 100644 --- a/com/csse3200/game/areas/terrain/package-summary.html +++ b/com/csse3200/game/areas/terrain/package-summary.html @@ -93,8 +93,12 @@

Package com.cs
Factory for creating game terrains.
-
TerrainFactory.TerrainType
-
 
+
TerrainFactory.Grid
+
 
+
TerrainFactory.TerrainType
+
 
+
TerrainFactory.Tile
+
 
TerrainGrid
 
TerrainTile
diff --git a/com/csse3200/game/areas/terrain/package-tree.html b/com/csse3200/game/areas/terrain/package-tree.html index 9a9e0a843..293319819 100644 --- a/com/csse3200/game/areas/terrain/package-tree.html +++ b/com/csse3200/game/areas/terrain/package-tree.html @@ -68,6 +68,9 @@

Class Hierarchy

  • com.csse3200.game.areas.terrain.TerrainFactory
  • +
  • com.csse3200.game.areas.terrain.TerrainFactory.Array
  • +
  • com.csse3200.game.areas.terrain.TerrainFactory.Grid
  • +
  • com.csse3200.game.areas.terrain.TerrainFactory.Tile
  • com.csse3200.game.areas.terrain.TerrainGrid
  • com.csse3200.game.areas.terrain.TerrainTile (implements com.badlogic.gdx.maps.tiled.TiledMapTile)
  • diff --git a/com/csse3200/game/utils/math/GridPoint2Utils.html b/com/csse3200/game/utils/math/GridPoint2Utils.html index fdd24c9c3..2fc56c493 100644 --- a/com/csse3200/game/utils/math/GridPoint2Utils.html +++ b/com/csse3200/game/utils/math/GridPoint2Utils.html @@ -15,7 +15,11 @@ -