Results 1 to 1 of 1
  1. #1
    DrewLols2 is offline
    Join Date
    2013 May
    Thanked 0 Times in 0 Posts
    Rep Power

    (Java) Entity/Compontent vs Traditional Object Oriented game programming

    I hear a lot of talk about the Entity/Component based paradigm in programming. One of the main benefits of programming in this fashion is the ability to have your entities definitions be highly flexible. What the Entity is composed of defines how it behaves. One of the biggest complaints about the Object Oriented paradigm in game programming is the issue with the class hierarchy. Odds are, you'll want your game token to be able to do many things, and inherit a lot of classes. Unfortunately, Java doesn't support true multiple inheritance.

    My problem with the Entity/Component paradigm is that it does not allow the programmer to be explicit about what is happening in his/her program. Also, I do believe that Java allows a particular class to implements multiple interfaces. This would solve the problem with the class hierarchy in oop game programming, would it not?

Similar Threads

  1. [Asm] Tips on game programming at asm level
    By chooapple2200 in forum Assembler
    Replies: 0
    Last Post: 2013-05-04, 08:48 PM
  2. [Tutorial] Java JNI tutorial (Bridge between Java and C)
    By Bytesize in forum Programming Tutorials
    Replies: 0
    Last Post: 2012-10-26, 06:51 PM
  3. [JAVA] Simple Java Socket Programming.
    By emoisback in forum Programming Tutorials
    Replies: 0
    Last Post: 2011-12-21, 08:52 AM
Visitors found this page by searching for:
Nobody landed on this page from a search engine, yet!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts