-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from MrDave1999/patch-2
test: Use FakeCarrier in the tests
- Loading branch information
Showing
2 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace CTF.Application.Tests.Flags; | ||
|
||
public class FakeCarrier : Player | ||
{ | ||
public override bool SetAttachedObject( | ||
int index, | ||
int modelId, | ||
Bone bone, | ||
Vector3 offset, | ||
Vector3 rotation, | ||
Vector3 scale, | ||
Color materialColor1, | ||
Color materialColor2) => true; | ||
|
||
public override bool RemoveAttachedObject(int index) => true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters