Finished Code
This commit is contained in:
BIN
BattleFieldSimulator/Executable_And_DLLs/Release.zip
Normal file
BIN
BattleFieldSimulator/Executable_And_DLLs/Release.zip
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"Map": {
|
||||
"X": "10",
|
||||
"Y" : "10",
|
||||
"Grid": [
|
||||
[0, 0, 0, 0, 0, 0, 0, 5, 5, 0],
|
||||
[0, 1, 1, 1, 0, 0, 0, 5, 5, 0],
|
||||
[0, 2, 2, 2, 0, 0, 0, 5, 4, 0],
|
||||
[0, 2, 3, 2, 0, 0, 0, 4, 3, 0],
|
||||
[0, 2, 2, 1, 0, 0, 0, 3, 2, 0],
|
||||
[0, 0, 0, 0, 0, 0, 0, 2, 2, 0],
|
||||
[0, 0, 0, 0, 0, 0, 0, 1, 1, 0],
|
||||
[0, 0, 0, 1, 0, 0, 0, 1, 0, 0],
|
||||
[0, 0, 0, 0, 0, 0, 0, 1, 0, 0],
|
||||
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"Allies": [
|
||||
{
|
||||
"Troop":
|
||||
{
|
||||
"MovementSpeed": 1.5,
|
||||
"SightDistance": 4,
|
||||
"EngagementDistance": 3,
|
||||
"WeaponDamage": 8.5,
|
||||
"Marksmanship": 7,
|
||||
"TroopCount": 30,
|
||||
"Aggressiveness": 7,
|
||||
"Defense": 6,
|
||||
"Mission": "Defend",
|
||||
"EntryPointX": 0,
|
||||
"EntryPointY": 0,
|
||||
"ObjectiveX": 0,
|
||||
"ObjectiveY": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Troop":
|
||||
{
|
||||
"MovementSpeed": 2.5,
|
||||
"SightDistance": 2,
|
||||
"EngagementDistance": 1,
|
||||
"WeaponDamage": 5,
|
||||
"Marksmanship": 4,
|
||||
"TroopCount": 10,
|
||||
"Aggressiveness": 10,
|
||||
"Defense": 3,
|
||||
"Mission": "Defend",
|
||||
"EntryPointX": 0,
|
||||
"EntryPointY": 2,
|
||||
"ObjectiveX": 0,
|
||||
"ObjectiveY": 0
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"Adversaries": [
|
||||
{
|
||||
"Troop":
|
||||
{
|
||||
"MovementSpeed": 2.5,
|
||||
"SightDistance": 3,
|
||||
"EngagementDistance": 1,
|
||||
"WeaponDamage": 7,
|
||||
"Marksmanship": 4,
|
||||
"TroopCount": 10,
|
||||
"Aggressiveness": 10,
|
||||
"Defense": 3,
|
||||
"Mission": "Attack",
|
||||
"EntryPointX": 1,
|
||||
"EntryPointY": 1,
|
||||
"ObjectiveX": 0,
|
||||
"ObjectiveY": 0
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"Troop":
|
||||
{
|
||||
"MovementSpeed": 2.5,
|
||||
"SightDistance": 2,
|
||||
"EngagementDistance": 1,
|
||||
"WeaponDamage": 1,
|
||||
"Marksmanship": 4,
|
||||
"TroopCount": 15,
|
||||
"Aggressiveness": 10,
|
||||
"Defense": 3,
|
||||
"Mission": "Attack",
|
||||
"EntryPointX": 2,
|
||||
"EntryPointY": 7,
|
||||
"ObjectiveX": 0,
|
||||
"ObjectiveY": 0
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user