コード例 #1
0
        public void PopulateObjects(Zone zone, Point globalScreenCoord)
        {
            Vector2 screenOffset =
                zone.getLocalScreenOffsetInPixelVector(
                    zone.getLocalScreenFromGlobalScreen(globalScreenCoord));
            screenOffset += new Vector2(Zone.SCREEN_WIDTH_IN_PIXELS / 2,
                                        Zone.SCREEN_HEIGHT_IN_PIXELS / 2 + 60);

            zone.add(
                new ChozoStatue(screenOffset, m_item, Direction.Right));
        }