How lenguyenduc22102007-star/aura-farming- works
Aura Farming is a Java/JavaFX farming simulation. The principal loop is to use tools on farm cells, grow crops across weather-driven days, harvest produce, and trade it; the README explicitly describes the tool invocation and daily crop update. The tree also shows distinct exploration, fishing, livestock, crafting, quests, festivals, and production features. Several of those implementations were not excerpted, so their connections are shown only as unverified dashed links; the graph avoids asserting detailed internal call order.
Main entry points: InGameController.java In-game screen · Cell.java Farm cell · Player.java Player and inventory · GameManager.java Day and status
Components 26
Farm gameplay
- Tool actions
controller/actionmanager/PlayerController.java - Tool strategies
controller/actionmanager/ToolStrategy.java - Farm map
model/soil/FarmMap.java - Farm cell
model/soil/Cell.java - Crop growth
model/crop/Crop.java - Weather effects
model/weather/Weather.java - Environment tick
controller/environmentcontroller/EnvironmentController.java - Farm updates
controller/farmcontroller/FarmController.java - Livestock
model/livestock/FarmAnimal.java
Economy and crafting
- Player and inventory
model/player_inventory/Player.java - Shop
controller/shopmanager/ShopController.java - Cooking recipes
model/cooking/CookingRecipeManager.java - Factory production
model/factory/FactoryManager.java - Market
model/factory/MarketManager.java
World activities
- Quests
model/quest/QuestManager.java - Festivals
model/festival/FestivalManager.java - Mining
view/mine/MineManager.java - Fishing
view/river/FishingGame.java - NPC interactions
view/npc/NpcManager.java
Game runtime
- Game entry
Main.java - Day and status
controller/lifecyclemanager/GameManager.java - Save and load
controller/lifecyclemanager/SaveManager.java
JavaFX interface
- In-game screen
view/screen_controller/InGameController.java - Storage screen
view/screen_controller/StorageViewController.java - Scene routing
view/screen_util/SceneRouter.java
Other components
- Player
Connections 27
- Player → In-game screen: plays through
- Game entry → In-game screen: starts
Main.java - In-game screen → Tool actions: selects tools
view/screen_controller/InGameController.java - Tool actions → Tool strategies: executes
controller/actionmanager/PlayerController.java - Tool strategies → Farm cell: acts on
- Farm cell → Crop growth: holds crop
model/soil/Cell.java - Farm updates → Farm map: updates cells
controller/farmcontroller/FarmController.java - Farm map → Farm cell: contains cells
model/soil/FarmMap.java - Farm cell → Weather effects: applies effects
model/soil/Cell.java - Day and status → Environment tick: notifies by day
controller/environmentcontroller/EnvironmentController.java - In-game screen → Farm updates: advances days
- Player → Player and inventory: controls
- In-game screen → Shop: opens shop
view/screen_controller/InGameController.java - Shop → Player and inventory: charges and stocks
controller/shopmanager/ShopController.java - In-game screen → Storage screen: opens storage
- Storage screen → Player and inventory: trades inventory
view/screen_controller/StorageViewController.java - In-game screen → Cooking recipes: offers cooking
- In-game screen → Factory production: offers production
- In-game screen → Market: offers selling
- In-game screen → Quests: supports quests
- In-game screen → Festivals: supports festivals
- In-game screen → Mining: opens mining
- In-game screen → Fishing: opens fishing
view/screen_controller/InGameController.java - In-game screen → NPC interactions: interacts with
- In-game screen → Livestock: tends livestock
view/screen_controller/InGameController.java - Day and status → Save and load: persists state
controller/lifecyclemanager/SaveManager.java - In-game screen → Scene routing: routes scenes
view/screen_controller/InGameController.java