package com.example.rollingball.app;

import java.util.InputMismatchException;
import java.util.LinkedList;
/**
 * Created by sakamoto on 2014/05/14.
 */
public class Scene implements IUpdatetable
{
  public LinkedList<GameObject> game_objects;
  public Camera camera;
  public InputManager input_manager;
  public SceneManager scene_manager;
  protected Message[] _massages;
  public boolean to_exit;

  Scene( SceneManager s )
  {
    scene_manager = s;
    camera = new Camera();
    input_manager = new InputManager( this );
}

  void push( GameObject game_object ){

  }

  void message( Message message ){

  }

  public SceneManager getScene_manager(){
    return scene_manager;
  }

  public void update( long delta_time_in_ns ){
    for ( GameObject g : game_objects )
      update(delta_time_in_ns);
  }
}

@@ -105,53 +105,8 @@
 st;%0A
-/**%0A * Created by sakamoto on 2014/05/14.%0A */
 %0Apub
@@ -138,18 +138,27 @@
 s IUpdat
-et
+able, IDraw
 able%0A%7B%0A 
@@ -644,24 +644,36 @@
 nager;%0A  %7D%0A%0A
+  @Override%0A
   public voi
@@ -753,23 +753,26 @@
 )%0A      
+g.
 update(
+ 
 delta_ti
@@ -783,13 +783,58 @@
 n_ns
+ 
 );%0A  %7D%0A
+%0A  @Override%0A  public void draw()%0A  %7B%0A%0A  %7D%0A%0A
 %7D%0A

add impl IDrawable.