public GameMap(Graphics graphics) { this.graphics = graphics; this.scroll = new prim.Point(0, 0); mapInterface = new MapInterface.MapInterface(); controlEntity = new ControlEntity(); run = true; }
public void AddControlEntity(Graphics graphics, string templateKey) { MapInterface.ObjectTemplate template = mapInterface.objectTemplates[templateKey]; controlEntity = new ControlEntity(world, template, graphics); }