public virtual void Initialize(mg_ss_GameLogic p_gameLogic, mg_ss_GameScreen p_screen) { m_queuedPowerups = new Queue <mg_ss_EItemTypes>(); m_gameLogic = p_gameLogic; m_generationData = MinigameManager.GetActive <mg_SmoothieSmash>().Resources.ItemGeneratorData; m_spacingTimer = m_gameLogic.ConveyorItemSpacing; }
public void Initialize(mg_ss_GameScreen p_screen, mg_ss_ConveyorSpeedData p_speedData) { m_speedData = p_speedData; m_timeData = m_speedData.TimeDataHead; m_conveyorObject = p_screen.ConveyorObject; m_speedMultiplier = 1f; }
public override void Initialize(mg_ss_GameScreen p_screen) { base.Scoring = new mg_ss_ScoreSurvival(this); Health = 100; base.Initialize(p_screen); m_healthBonusManager = (p_screen as mg_ss_GameSurvivalScreen).HealthBonusManager; m_healthBonusManager.Initialize(this); }
public void Initialize(mg_ss_GameScreen p_screen, mg_ss_GameLogic p_logic) { m_logic = p_logic; m_velocity = 3.2f; State = mg_ss_EPlayerState.NONE; Action = mg_ss_EPlayerAction.NONE; m_playerObject = p_screen.PlayerObject; m_playerObject.Initialize(this, p_screen.GameZoneLeft, p_screen.GameZoneRight); }
public void Initialize(mg_ss_ConveyorLogic p_conveyorLogic, mg_ss_GameScreen p_screen, mg_SmoothieSmash p_minigame) { m_conveyorLogic = p_conveyorLogic; m_splatterObject = p_screen.SplatterObject; m_splatterObject.Initialize(p_screen.BlobSplatterFinish, p_minigame.MainCamera); m_transformParent = p_conveyorLogic.Conveyor; m_resources = p_minigame.Resources; m_spawnedItems = new List <mg_ss_ItemObject>(); m_highlightTypes = new List <mg_ss_EItemTypes>(); m_spawnTop = p_conveyorLogic.ItemSpawnPoint_Top; m_spawnBottom = p_conveyorLogic.ItemSpawnPoint_Bottom; m_screenHalfWidth = p_minigame.MainCamera.aspect * p_minigame.MainCamera.orthographicSize; m_screenHalfHeight = p_minigame.MainCamera.orthographicSize; }
public virtual void Initialize(mg_ss_GameScreen p_screen) { m_conveyor.Initialize(p_screen, Minigame.Resources.ConveyorSpeedData); m_player.Initialize(p_screen, this); ItemManager.Initialize(m_conveyor, p_screen, Minigame); m_itemGenerator = p_screen.ItemGenerator; m_itemGenerator.Initialize(this, p_screen); ChaosManager.Initialize(this, p_screen.PlayerObject); m_introTimer = 2f; GameState = mg_ss_EGameState.INTRO; GameTime = 0f; m_gameStarted = false; MinigameManager.GetActive().PlaySFX("mg_ss_sfx_conveyor_loop"); }
public override void Initialize(mg_ss_GameLogic p_gameLogic, mg_ss_GameScreen p_screen) { base.Initialize(p_gameLogic, p_screen); m_goldenAppleTimer = 10f; }
public override void Initialize(mg_ss_GameScreen p_screen) { GameTimer = 90f; base.Scoring = new mg_ss_ScoreNormal(this); base.Initialize(p_screen); }
public void SetLogic(mg_ss_GameLogic p_logic, mg_ss_GameScreen p_screen) { GameLogic = p_logic; GameLogic.Initialize(p_screen); }
public override void Initialize(mg_ss_GameLogic p_gameLogic, mg_ss_GameScreen p_screen) { base.Initialize(p_gameLogic, p_screen); m_orderSystem = new mg_ss_OrderSystem(); m_orderSystem.Initialize(this, (p_screen as mg_ss_GameNormalScreen).OrderSystem); }