Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class Universe

    java.lang.Object
      |
      +--Universe

public class Universe
extends java.lang.Object

Represnts Universe, stores main characteristics:

1. Light speed
2. Reference to central body

Constructor Summary
`Universe(CentrBody cb)` Constructs new Universe with given central body and light speed set to 5;

Method Summary
`void` | `set_c(double c)` Sets light speed of Universe

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Universe

    public Universe(CentrBody cb)

  Constructs new Universe with given central body and light speed set to 5;
  Parameters:
    `cb` - Reference to central body

Method Detail

### set_c

    public void set_c(double c)

  Sets light speed of Universe
  Parameters:
    `c` - New light speed

Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD