Exemplo n.º 1
0
        public void displayGraphic(Vector2 vector, Color color)
        {
            GraphicType newGraphic = new GraphicType(graphic, vector, color, effects);

            newGraphic.startEffect();

            graphics.Add(newGraphic);
        }
Exemplo n.º 2
0
 public void addGraphic(GraphicType graphic)
 {
     graphics.Add(graphic);
 }
Exemplo n.º 3
0
        public void RemoveGraphic(IScreenObject screenObject)
        {
            GraphicType graphicToRemove = screenObject as GraphicType;

            graphics.Remove(graphicToRemove);
        }