Package org.seattlegamer.spacegame.resources

Examples of org.seattlegamer.spacegame.resources.ResourceCache


  @Test
  public void newGameCreatedWithPlayersFromManifest() throws IOException {
   
    Bus bus = new BusImpl();
    //TODO: use Mockito for dependencies
    ResourceCache resourceCache = new ResourceCache() {
      @Override public void putImage(String name, Object asset) {}
      @Override public Image getImage(String name) throws IOException { return null; }
    };
    DisplayMode displayMode = new DisplayMode(800, 600, 16, 60);
    MockGameState gameState = new MockGameState(bus, resourceCache, displayMode);
View Full Code Here

TOP

Related Classes of org.seattlegamer.spacegame.resources.ResourceCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.