Class Thing

  • Direct Known Subclasses:
    Gold, Hero, Pit, Wumpus

    public class Thing
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Thing​(int row, int col)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCol()  
      int getRow()  
      void setCol​(int col)  
      void setRow​(int row)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Thing

        public Thing​(int row,
                     int col)
    • Method Detail

      • getRow

        public int getRow()
      • setRow

        public void setRow​(int row)
      • getCol

        public int getCol()
      • setCol

        public void setCol​(int col)