Exemple #1
0
    public void loadYourself(BoatSave input)
    {
        loaded = true;

        carryingCapacity = input.carryCapacity;
        moveSpeed = input.moveSpeed;
        carryingCurrently = input.carryingCurrently;
    }
Exemple #2
0
    public BoatSave saveYourself()
    {
        BoatSave save = new BoatSave();

        save.carryCapacity = carryingCapacity;
        save.moveSpeed = moveSpeed;

        save.carryingCurrently = carryingCurrently;

        return save;
    }