コード例 #1
0
 public override void AddPowerUpRuntime(Vector2D position)
 {
 }
コード例 #2
0
        public override void AddSecondPlayer()
        {
            //AddPlayer(Program.windowSize / 2 + Vector2D.Right() * 50, new ControllerMovementScript(0,0.15), new ControllerLookScript(0,0.5), new Crossbow(_dataManager.AddToEnvironment, _dataManager.Arrows, _dataManager.Players), new ControllerAttackScript(0,1000));

            AddPlayer(Program.windowSize / 2 + Vector2D.Right() * 50, new KeyboardMovementScript(Keyboard.Key.I, Keyboard.Key.K, Keyboard.Key.J, Keyboard.Key.L, Keyboard.Key.B, 0.15), new MouseLookScript(_dataManager.Window, 0.5), new Crossbow(_dataManager.AddToEnvironment, _dataManager.Arrows, _dataManager.Players), new MouseAttackScript(Mouse.Button.Left, 1000));
        }