public class GridController extends Object implements ISpaceController
Constructor and Description |
---|
GridController(AbstractEnvironmentSpace space) |
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(String name) |
ISpaceObject |
getSpaceObject(Object id) |
Collection |
getSpaceObjectsByGridPosition(IVector2 position,
Object type) |
void |
setProperty(String name,
Object value) |
public GridController(AbstractEnvironmentSpace space)
public Collection getSpaceObjectsByGridPosition(IVector2 position, Object type)
getSpaceObjectsByGridPosition
in interface ISpaceController
public Object getProperty(String name)
getProperty
in interface ISpaceController
public void setProperty(String name, Object value)
setProperty
in interface ISpaceController
public ISpaceObject getSpaceObject(Object id)
getSpaceObject
in interface ISpaceController
Copyright © 2013. All Rights Reserved.