Jump to content

How to import art library for java?

11 hours ago, Postremus said:

What do you want to do?

Which "art" library do you mean? If you want to design UI's, use something like swing or awt.


  if (i == 0) {
            return new Monster("Demon", Art.Demon, 41, 8, 12);
        } else if (i == 1) {
            return new Monster("Wraith", Art.Wraith, 26, 4, 6);
        } else {
            return new Monster("Witch", Art.Witch, 17, 1, 2);
        }

 

I am making a game for my java class. My goal was to import art and connect pictures to it.

Link to post
Share on other sites

7 hours ago, Yamoto42 said:

Which "art" library do you mean?

I may have misunderstood. I guess what I should be doing is creating an Art class and connecting it to the appropriate "monster". Originally I thought I was looking for a java library.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×