io.github.spair:byond-dmm-util

Library to parse and render DMM files.

Лицензия

Лицензия

Группа

Группа

io.github.spair
Идентификатор

Идентификатор

byond-dmm-util
Последняя версия

Последняя версия

1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

io.github.spair:byond-dmm-util
Library to parse and render DMM files.
Ссылка на сайт

Ссылка на сайт

https://spair.github.io/byond-dmm-util
Система контроля версий

Система контроля версий

https://github.com/SpaiR/byond-dmm-util/tree/master

Скачать byond-dmm-util

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.github.spair/byond-dmm-util/ -->
<dependency>
    <groupId>io.github.spair</groupId>
    <artifactId>byond-dmm-util</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.spair/byond-dmm-util/
implementation 'io.github.spair:byond-dmm-util:1.1'
// https://jarcasting.com/artifacts/io.github.spair/byond-dmm-util/
implementation ("io.github.spair:byond-dmm-util:1.1")
'io.github.spair:byond-dmm-util:jar:1.1'
<dependency org="io.github.spair" name="byond-dmm-util" rev="1.1">
  <artifact name="byond-dmm-util" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.spair', module='byond-dmm-util', version='1.1')
)
libraryDependencies += "io.github.spair" % "byond-dmm-util" % "1.1"
[io.github.spair/byond-dmm-util "1.1"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
io.github.spair : dmm-io jar 1.5
io.github.spair : byond-dme-parser jar 0.3.2
io.github.spair : byond-dmi-util jar 2.1
org.codehaus.groovy : groovy-jsr223 jar 2.5.5

provided (1)

Идентификатор библиотеки Тип Версия
org.projectlombok : lombok jar 1.18.2

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

Build Status Javadocs License

BYOND Dmm Util

About

Library with util methods for dmm files.

Features:

  • able to render dmm files into proper image
  • compare two maps to get difference between them

Installation

Maven Central JCenter

Library deployed to Maven Central and JCenter repositories.

pom.xml

<dependency>
    <groupId>io.github.spair</groupId>
    <artifactId>byond-dmm-util</artifactId>
    <version>${last.version}</version>
</dependency>

build.gradle:

compile 'io.github.spair:byond-dmm-util:${last.version}'

How To Use

The main class you will use is Dmm. To create it you should provide to it constructor DmmData and Dme objects. The info how to get them could be found here and here.

DmmDrawer

Renders Dmm object into BufferedImage. Has ability to render specific region of map or apply object filter to exclude specific types from render result. For example:

DmmDrawer.drawMap(dmm, MapRegion.of(1, 5), FilterMode.IGNORE, "/area", "/turf")

DmmDiffer

Compares two Dmm objects and returns list of DiffPoint or MapRegion with specific area of differences.

More could be found in JavaDoc.

Версии библиотеки

Версия
1.1
1.0.1
1.0
0.2.2
0.2.1
0.2
0.1.9.1
0.1.9
0.1.8.2
0.1.8.1
0.1.8
0.1.6
0.1.5
0.1.4.3
0.1.4.2
0.1.4.1
0.1.4
0.1.3.2
0.1.3.1
0.1.3
0.1.2
0.1.1