예제 #1
0
        public BasicDrawable(float x, float y, Color color, float scale, float rotation)
        {
            this.color = color;
            this.x     = x;
            this.y     = y;

            this.rotation = rotation;
            this.scale    = scale;

            this.movementQueue  = new BasicCollection("movementQueue");
            this.actualMovement = null;

            this.hiden = false;
        }
        public BasicDrawable(float x, float y, Color color, float scale, float rotation)
        {
            this.color = color;
            this.x = x;
            this.y = y;

            this.rotation = rotation;
            this.scale = scale;

            this.movementQueue = new BasicCollection("movementQueue");
            this.actualMovement = null;

            this.hiden = false;
        }
 public void remove(BasicCollection collection)
 {
     this.components.Remove(collection);
 }
 /// <summary>
 /// Adds new bundle to the components.
 /// </summary>
 /// <param name="layer">A bundle to add.</param>
 public void add(BasicCollection collection)
 {
     this.components.Add(collection);
 }