Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've recently been getting my game a lot more of functions for the entities: growing, IA, colours depending of season, position, magic, teleportation an d a lot more. The problem was that for everything I wanted to create (for example a tree), I had to extends or just copy fragments of code that were lately used, and today, I've decided to change that.

So I've created my interface with an update method, I've implemented it... And when I've searched for papers, information or examples, everything was made in C++! And I don't fully understand this programming language!

So the question, how to achieve this, or any example, and important, everything in Java pleaseeee! (And yeah, I understand this question has been made a lot of times :D)

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.