public void draw(SBWrapper wrapper) { wrapper.draw(bg); ui.draw(wrapper); if (editing) { editor.draw(wrapper); } }
/// <summary> /// Draw this entity at a screen location, without camera perspective /// </summary> /// <param name="wrapper"></param> /// <param name="location"></param> public void draw(SBWrapper wrapper, Vector2 location) { wrapper.draw(texture, location, animation.getFrame()); }
public void draw(SBWrapper wrapper, Vector2 location) { wrapper.draw(texture, location); }