Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored client more towards a service oriented architecture.
Implemented message handling service that delegates messages to other services. Created Engine service for 3D engine related things, moved most code from ClipmapTerrainSpike to it for now. Some initial Entity classes.
- Loading branch information
Showing
33 changed files
with
522 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.skycastle.client; | ||
|
||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
/** | ||
* Indicates that a method handles some types of messages from the server. | ||
*/ | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Target(ElementType.METHOD) | ||
public @interface ActionMethod { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.skycastle.client.engine | ||
|
||
import com.jme3.asset.AssetManager | ||
import org.skycastle.utils.Service | ||
|
||
/** | ||
* The 3D display engine. | ||
*/ | ||
trait Engine extends Service { | ||
|
||
def getAssetManager: AssetManager | ||
|
||
} |
Oops, something went wrong.