Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataFormat for tiles? #39

Closed
ahinchman1 opened this issue Dec 11, 2017 · 1 comment
Closed

DataFormat for tiles? #39

ahinchman1 opened this issue Dec 11, 2017 · 1 comment

Comments

@ahinchman1
Copy link

I am writing a Kotlin/TornadoFX app using TilesFX, and I've reached the point where I'm ready to interact with them. I created a DataFormat such that

private var TILES: DataFormat = DataFormat("eu.hansolo.tilesfx.Tile")

But in my java app, it says

java.lang.IllegalArgumentException: DataFormat 'eu.hansolo.tilesfx.Tile' already exists.

Is there an existing DataFormat for a tile in TilesFX?

@ahinchman1
Copy link
Author

Update: I was able to progress using a companion object. I just have to figure out how I can either cast Tile to be serializable or be a BufferByte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant