rootpanthera
rootpanthera

Reputation: 2771

How to use android classes inside libgdx project?

I just started to learn libgdx engine and I'm a little confused. Until now I've coded all my apps in a project which included android library, but this project is using the "normal" java library (but it can be run on PC and I've started it on android too).

Actually what I'm asking is how to use android classes inside this libgdx project. For instance, I would like to use dialog class or show Toast when game is finished.

Upvotes: 0

Views: 563

Answers (1)

Aurel
Aurel

Reputation: 479

You can achieve that by using the Facade design pattern, as explained in the libgdx documentation.

Upvotes: 3

Related Questions