-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
64 additions
and
18 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
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,9 @@ | ||
using Preparation.Interface; | ||
|
||
namespace GameClass.GameObj.Modules; | ||
|
||
public class NullArmor : IArmor | ||
{ | ||
public int ArmorHP => 0; | ||
public int Cost => 0; | ||
} |
9 changes: 9 additions & 0 deletions
9
logic/GameClass/GameObj/Modules/NullModules/NullConstructor.cs
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,9 @@ | ||
using Preparation.Interface; | ||
|
||
namespace GameClass.GameObj.Modules; | ||
|
||
public class NullConstructor : IConstructor | ||
{ | ||
public int ConstructSpeed => 0; | ||
public int Cost => 0; | ||
} |
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,9 @@ | ||
using Preparation.Interface; | ||
|
||
namespace GameClass.GameObj.Modules; | ||
|
||
public class NullProducer : IProducer | ||
{ | ||
public int ProduceSpeed => 0; | ||
public int Cost => 0; | ||
} |
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,9 @@ | ||
using Preparation.Interface; | ||
|
||
namespace GameClass.GameObj.Modules; | ||
|
||
public class NullShield : IShield | ||
{ | ||
public int ShieldHP => 0; | ||
public int Cost => 0; | ||
} |
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,10 @@ | ||
using Preparation.Interface; | ||
using Preparation.Utility; | ||
|
||
namespace GameClass.GameObj.Modules; | ||
|
||
public class NullWeapon : IWeapon | ||
{ | ||
public BulletType BulletType => BulletType.Null; | ||
public int Cost => 0; | ||
} |