Interface LoadableContent
- All Known Implementing Classes:
BuilderNPC,DadNPC,FishermansDaughterSellingNPC,FoundGirl,MakeupArtist,NineSwitchesGame,PaperChaseSign,PhotographerNPC,SokobanGame,SoldierNPCs,TicTacToeGame
public interface LoadableContent
This interface represents content that can be loaded and unloaded at runtime.
- Author:
- hendrik
-
Method Summary
Modifier and TypeMethodDescriptionvoidadds the content to the world.booleantry to remove the content from the world-
-
Method Details
-
addToWorld
void addToWorld()adds the content to the world. -
removeFromWorld
boolean removeFromWorld()try to remove the content from the world-- Returns:
true, if the content was removed,falseotherwise
-