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

            newGraphic.startEffect();

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

            graphics.Remove(graphicToRemove);
        }