AI combat, misc AI improvements, characters can't get stuck inside doors
This commit is contained in:
@@ -480,6 +480,13 @@ namespace Barotrauma
|
||||
return keys[(int)inputType].Held;
|
||||
}
|
||||
|
||||
public void SetInput(InputType inputType, bool hit, bool held)
|
||||
{
|
||||
keys[(int)inputType].Hit = hit;
|
||||
keys[(int)inputType].Held = held;
|
||||
|
||||
}
|
||||
|
||||
public void ClearInput(InputType inputType)
|
||||
{
|
||||
keys[(int)inputType].Hit = false;
|
||||
|
||||
Reference in New Issue
Block a user