示例#1
0
    // Populate identity, controller, notify others.
    // Enabled systems now that we have a pilot.
    public void BoardPlayer(PlayerIdentity _identity)
    {
        Assert.IsNotNull(_identity);
        identity   = _identity;
        controller = identity.GetControlDevice().GetAShipController();

        Assert.IsNotNull(on_player_board);
        on_player_board();

        foreach (ShipSystem system in ship_systems)
        {
            system.enabled = true;
        }
    }