mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-30 05:15:59 +02:00
UpdateF, dx reinit
This commit is contained in:
parent
fa2cb7ba56
commit
e87bf5b029
24 changed files with 1029 additions and 415 deletions
|
@ -37,9 +37,9 @@ namespace Beefy.utils
|
|||
get { return mPct != 1.0f; }
|
||||
}
|
||||
|
||||
public void Update()
|
||||
public void Update(float updatePct = 1.0f)
|
||||
{
|
||||
mPct = Math.Min(1.0f, mPct + mSpeed * mSpeedScale);
|
||||
mPct = Math.Min(1.0f, mPct + mSpeed * mSpeedScale * updatePct);
|
||||
}
|
||||
|
||||
public void Set(double val, bool immediate = false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue