Search:

Type: Posts; User: helloworld922

Search: Search took 0.10 seconds.

  1. Replies
    23
    Views
    3,158

    Re: Object or Class?

    Games are very easily maintained using events, however writing custom events in Java is very cumbersome. You have to create the event class, an interface that objects must implement in order to...
  2. Replies
    23
    Views
    3,158

    Re: Object or Class?

    Technically, the JVM does have to instantiate a static instance of the class. However, the methods/fields of that static instance are different from the "normal" object fields (i.e. only contains the...
  3. Replies
    23
    Views
    3,158

    Re: Object or Class?

    You'll want to use an object, but objects are defined via classes because you will want some specific traits for each character, but the type of traits will be the same.

    Ex:

    In a rectangle...
Results 1 to 3 of 3