artemis-odb matrix

Component dependency matrix generator for artemis-odb and ashley

License

License

Categories

Categories

Net
GroupId

GroupId

net.onedaybeard.ecs
ArtifactId

ArtifactId

matrix-artemis
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

artemis-odb matrix
Component dependency matrix generator for artemis-odb and ashley

Download matrix-artemis

How to add to project

<!-- https://jarcasting.com/artifacts/net.onedaybeard.ecs/matrix-artemis/ -->
<dependency>
    <groupId>net.onedaybeard.ecs</groupId>
    <artifactId>matrix-artemis</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.onedaybeard.ecs/matrix-artemis/
implementation 'net.onedaybeard.ecs:matrix-artemis:0.2.0'
// https://jarcasting.com/artifacts/net.onedaybeard.ecs/matrix-artemis/
implementation ("net.onedaybeard.ecs:matrix-artemis:0.2.0")
'net.onedaybeard.ecs:matrix-artemis:jar:0.2.0'
<dependency org="net.onedaybeard.ecs" name="matrix-artemis" rev="0.2.0">
  <artifact name="matrix-artemis" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.onedaybeard.ecs', module='matrix-artemis', version='0.2.0')
)
libraryDependencies += "net.onedaybeard.ecs" % "matrix-artemis" % "0.2.0"
[net.onedaybeard.ecs/matrix-artemis "0.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
net.onedaybeard.ecs : ecs-matrix jar 0.2.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

ecs-matrix

A small command-line tool for generating a matrix describing references between ECS classes in your game. Supports artemis-odb and ashley. Note that artemis-odb also provides this functionality via maven, gradle and its cli tool.

Shaman's Weirding Game: Component Dependency Matrix

Building

$ mvn clean package

Downloading

Usage

$ java -jar matrix-cli/target/matrix-cli-0.2.0.jar 
Usage: matrix-cli-<version>.jar [options]
  Options:
  * -c, --class-folder
       Root class folder
    -h, --help
       Displays this help message.
       Default: false
    -l, --label
       Project name, used as page title
       Default: Unnamed project
    -o, --output
       Save to file, destination may be given as a folder path
       Default: matrix.html

Example

$ cd ashley-superjumper/
$ java -jar /path/to/matrix-cli-0.2.0.jar \
> -c core/build/classes/main/ \
> -l "Ashley SuperJumper"
Found ECS framework: ashley
$ ls matrix.html 
matrix.html

Versions

Version
0.2.0
0.1.2
0.1.1
0.1.0