From 4e6a6f80515ac5269304af68e272d21b37b03e9a Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Wed, 11 Dec 2019 23:11:09 +0200 Subject: [PATCH] Updated Major classes (markdown) --- ...lasses.md => Project-structure-and-major-classes.md | 10 ++++++++++ 1 file changed, 10 insertions(+) rename Major-classes.md => Project-structure-and-major-classes.md (85%) diff --git a/Major-classes.md b/Project-structure-and-major-classes.md similarity index 85% rename from Major-classes.md rename to Project-structure-and-major-classes.md index c504d82..ab85f19 100644 --- a/Major-classes.md +++ b/Project-structure-and-major-classes.md @@ -1,3 +1,13 @@ +# Project structure + +Since LibGDX, and therefore Unciv, are built for multi-platform support, the project structure is built accordingly. + +99% of the code is in the [Core](https://github.com/yairm210/Unciv/tree/master/core/src/com/unciv) project, which contains all the platform-independant code. + +The [Desktop](https://github.com/yairm210/Unciv/tree/master/desktop) and [Android](https://github.com/yairm210/Unciv/tree/master/android) folders contain platform-specific things, and the Android folder also contains the game Images and the all-important Assets, which are required for running from Desktop as well, so we bundle them up into the .jar file when releasing. + +The [Test](https://github.com/yairm210/Unciv/tree/master/tests/src/de/tomgrill/gdxtesting/examples) folder contains tests that can be run manually via gradle with `./gradlew tests:test`, and are run automatically by Travis for every push. + # Major classes Civ, and therefore Unciv, is a game with endless interconnectivity - everything affects everything else.