Exemple #1
0
    /******************* Object Function *******************/
    public void InitializeShip(ShipStats shipStats)
    {
        InitializeSpaceObject("Ship", shipStats.GetName(), shipStats.GetSize(), shipStats.GetClass());

        SetArmorPoints("Initialize", shipStats.GetArmorPoints());
        SetEnergyPoints("Initialize", shipStats.GetEnergyPoints());

        SetEvade("Initialize", shipStats.GetEvade());
        SetDefence("Initialize", shipStats.GetDefence());
        SetCriticalHitChance("Initialize", shipStats.GetCritChance());
        SetMoveRange("Initialize", shipStats.GetMoveRange());
    }