Esempio n. 1
0
        public override void setPos(float x, float y, float xOffset, float yOffset)
        {
            GameObjectTree columnTemp = activeColumns;
            int            i          = 0;

            while (columnTemp != null)
            {
                columnTemp.setPos(x, (y + (columnTemp.getNum() * yOffset)), xOffset, yOffset);
                columnTemp = columnTemp.nextNode;
                i++;
            }
            setCollisionComponent();
        }
Esempio n. 2
0
 public void setPos(float x, float y, float xOffset, float yOffset)
 {
     alienTree.setPos(x, y, xOffset, yOffset);
 }