String imageName = "data/sprites/doors/" + baseImage + "_" + orientation +".png";
Sprite[] s = sprites.get(imageName);
if (s == null) {
Sprite sprite = SpriteStore.get().getSprite(imageName);
s = new Sprite[2];
s[0] = sprite.createRegion(0, 0, 96, 96, null);
s[1] = sprite.createRegion(0, 96, 96, 96, null);
sprites.put(imageName, s);
}
openSprite = s[0];