Interface Savable

All Known Implementing Classes:
Government, Jail, Nation, ObjectGroup, PlotGroup, Resident, Town, TownBlock, TownyObject, TownyWorld

public interface Savable
Basic interface that depicts whether an object has a specified save method. Most, if not all, save methods will redirect to a specific method in TownyDataSource. Using the save() method is preferred to future proof against database class changes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Schedules the object to be saved to the database.
  • Method Details

    • save

      void save()
      Schedules the object to be saved to the database.