Description:
Add files I forgot.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -0,0 +1,10 | |||||
|
|
1 | |||
|
|
2 | using Encompass; | ||
|
|
3 | |||
|
|
4 | namespace isometricparkfna.Components | ||
|
|
5 | { | ||
|
|
6 | public struct ImageComponent : IComponent | ||
|
|
7 | { | ||
|
|
8 | public int ImageIndex; | ||
|
|
9 | } | ||
|
|
10 | } No newline at end of file |
@@ -0,0 +1,9 | |||||
|
|
1 | |||
|
|
2 | using Encompass; | ||
|
|
3 | |||
|
|
4 | namespace isometricparkfna.Components | ||
|
|
5 | { | ||
|
|
6 | public struct OffersContractsComponent : IComponent | ||
|
|
7 | { | ||
|
|
8 | } | ||
|
|
9 | } No newline at end of file |
@@ -0,0 +1,10 | |||||
|
|
1 | |||
|
|
2 | using Encompass; | ||
|
|
3 | |||
|
|
4 | namespace isometricparkfna.Components | ||
|
|
5 | { | ||
|
|
6 | public struct RelatedOrganizationComponent : IComponent, IHasEntity | ||
|
|
7 | { | ||
|
|
8 | public Entity Entity {get; set;} | ||
|
|
9 | } | ||
|
|
10 | } No newline at end of file |
@@ -0,0 +1,21 | |||||
|
|
1 | |||
|
|
2 | using Microsoft.Xna.Framework; | ||
|
|
3 | using Encompass; | ||
|
|
4 | |||
|
|
5 | using isometricparkfna.Spawners; | ||
|
|
6 | |||
|
|
7 | #nullable enable | ||
|
|
8 | |||
|
|
9 | namespace isometricparkfna.Messages { | ||
|
|
10 | |||
|
|
11 | public struct SpawnOrganizationtMessage : IMessage | ||
|
|
12 | { | ||
|
|
13 | public string? name; | ||
|
|
14 | public string? description; | ||
|
|
15 | |||
|
|
16 | public bool offersContracts; | ||
|
|
17 | public OrganizationType type; | ||
|
|
18 | |||
|
|
19 | |||
|
|
20 | } | ||
|
|
21 | } |
@@ -263,14 +263,17 | |||||
|
263 | description = "#company_description#" }); |
|
263 | description = "#company_description#" }); |
|
264 | WorldBuilder.SendMessage(new SpawnOrganizationtMessage { offersContracts = true, |
|
264 | WorldBuilder.SendMessage(new SpawnOrganizationtMessage { offersContracts = true, |
|
265 | name = "#family_company.capitalizeAll#", |
|
265 | name = "#family_company.capitalizeAll#", |
|
266 |
description = "#family_company_description#" |
|
266 | description = "#family_company_description#", |
|
|
267 | type = OrganizationType.Family }); | ||
|
267 | WorldBuilder.SendMessage(new SpawnOrganizationtMessage { offersContracts = true, |
|
268 | WorldBuilder.SendMessage(new SpawnOrganizationtMessage { offersContracts = true, |
|
268 | name = "#large_company.capitalizeAll#", |
|
269 | name = "#large_company.capitalizeAll#", |
|
269 |
description = "#large_company_description#" |
|
270 | description = "#large_company_description#", |
|
|
271 | type = OrganizationType.LargeCorporation }); | ||
|
270 | } |
|
272 | } |
|
271 | WorldBuilder.SendMessage(new SpawnOrganizationtMessage { offersContracts = true, |
|
273 | WorldBuilder.SendMessage(new SpawnOrganizationtMessage { offersContracts = true, |
|
272 | name = "#coop_company.capitalizeAll#", |
|
274 | name = "#coop_company.capitalizeAll#", |
|
273 |
description = "#coop_company_description#" |
|
275 | description = "#coop_company_description#", |
|
|
276 | type = OrganizationType.Cooperative }); | ||
|
274 | WorldBuilder.SendMessage(new SpawnContractMessage |
|
277 | WorldBuilder.SendMessage(new SpawnContractMessage |
|
275 | { |
|
278 | { |
|
276 | squares = squares, |
|
279 | squares = squares, |
You need to be logged in to leave comments.
Login now