Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 200 | chris | 1 | package com.gebauz.Bauzoid.app; |
| 2 | |||
| 3 | /** Base class for all objects that are tied into the game graph. */ |
||
| 4 | public abstract class GameObject |
||
| 5 | { |
||
| 6 | private Game mGame = null; |
||
| 7 | |||
| 8 | /** Constructor. */ |
||
| 9 | public GameObject(Game game) |
||
| 10 | { |
||
| 11 | mGame = game; |
||
| 12 | } |
||
| 13 | |||
| 14 | /** Get the root game object. */ |
||
| 15 | public final Game getGame() |
||
| 16 | { |
||
| 17 | return mGame; |
||
| 18 | } |
||
| 19 | |||
| 20 | } |
||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 |