public void displayGraphic(Vector2 vector, Color color) { GraphicType newGraphic = new GraphicType(graphic, vector, color, effects); newGraphic.startEffect(); graphics.Add(newGraphic); }
public void addGraphic(GraphicType graphic) { graphics.Add(graphic); }
public void RemoveGraphic(IScreenObject screenObject) { GraphicType graphicToRemove = screenObject as GraphicType; graphics.Remove(graphicToRemove); }