コード例 #1
0
        public void displayGraphic(Vector2 vector, Color color)
        {
            GraphicType newGraphic = new GraphicType(graphic, vector, color, effects);

            newGraphic.startEffect();

            graphics.Add(newGraphic);
        }
コード例 #2
0
 public void addGraphic(GraphicType graphic)
 {
     graphics.Add(graphic);
 }
コード例 #3
0
        public void RemoveGraphic(IScreenObject screenObject)
        {
            GraphicType graphicToRemove = screenObject as GraphicType;

            graphics.Remove(graphicToRemove);
        }