-
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.
- Loading branch information
Showing
12 changed files
with
106 additions
and
2 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { } from 'game/utils'; | ||
import { } from 'game/prototypes'; | ||
import { } from 'game/constants'; | ||
import { } from 'arena/season_beta/capture_the_flag/basic'; | ||
|
||
export function loop() { | ||
// Your code goes here | ||
console.log('season_beta basic'); | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { } from 'game/utils'; | ||
import { } from 'game/prototypes'; | ||
import { } from 'game/constants'; | ||
import { } from 'arena/season_beta/capture_the_flag/advanced'; | ||
|
||
export function loop() { | ||
// Your code goes here | ||
console.log('season_beta'); | ||
} |
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,8 @@ | ||
import { } from 'game/utils'; | ||
import { } from 'game/prototypes'; | ||
import { } from 'game/constants'; | ||
import { } from 'arena/season_beta/collect_and_control/basic'; | ||
|
||
export function loop() { | ||
// Your code goes here | ||
} |
4 changes: 4 additions & 0 deletions
4
6545074f7ab4df5263b02567/typings/season_beta/collect_and_control/basic.d.ts
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,4 @@ | ||
declare module "arena/season_beta/collect_and_control/basic" { | ||
export * from "arena/season_beta/collect_and_control/basic/prototypes"; | ||
export * from "arena/season_beta/collect_and_control/basic/constants"; | ||
} |
6 changes: 6 additions & 0 deletions
6
6545074f7ab4df5263b02567/typings/season_beta/collect_and_control/basic/constants.d.ts
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,6 @@ | ||
declare module "arena/season_beta/collect_and_control/basic/constants" { | ||
export const RESOURCE_SCORE = 'score'; | ||
export const EFFECT_FREEZE = 'freeze'; | ||
export const EFFECT_HEAL = 'heal'; | ||
export const EFFECT_DAMAGE = 'damage'; | ||
} |
15 changes: 15 additions & 0 deletions
15
...f7ab4df5263b02567/typings/season_beta/collect_and_control/basic/prototypes/area-effect.ts
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,15 @@ | ||
declare module "arena/season_beta/collect_and_control/basic/prototypes" { | ||
import { GameObject } from "game/prototypes"; | ||
import { EFFECT_FREEZE, EFFECT_DAMAGE, EFFECT_HEAL } from "arena/season_beta/collect_and_control/basic/constants"; | ||
|
||
type AreaEffectType = | ||
typeof EFFECT_FREEZE | | ||
typeof EFFECT_DAMAGE | | ||
typeof EFFECT_HEAL; | ||
|
||
/** An object that applies an effect of the specified type to all creeps at the same time */ | ||
export class AreaEffect extends GameObject { | ||
/** The effect type */ | ||
readonly effect: AreaEffectType; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...f5263b02567/typings/season_beta/collect_and_control/basic/prototypes/score-collector.d.ts
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,18 @@ | ||
declare module "arena/season_beta/collect_and_control/basic/prototypes" { | ||
import {GameObject, ResourceType} from "game/prototypes"; | ||
|
||
/** Key game object for this arena. Transfer the corresponding resource to the collector to win the game */ | ||
export class ScoreCollector extends GameObject { | ||
/** Whether you have control over this collector */ | ||
my?: boolean; | ||
|
||
/**The type of the resource this collector accepts */ | ||
resourceType: ResourceType; | ||
|
||
/** Current collected score number of the owner */ | ||
score: number; | ||
|
||
/** Total number of score needed to win instantly */ | ||
scoreTotal: number; | ||
} | ||
} |
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,8 @@ | ||
import { } from 'game/utils'; | ||
import { } from 'game/prototypes'; | ||
import { } from 'game/constants'; | ||
import { } from 'arena/season_beta/collect_and_control/advanced'; | ||
|
||
export function loop() { | ||
// Your code goes here | ||
} |
4 changes: 4 additions & 0 deletions
4
6545074f7ab4df5263b02568/typings/season_alpha/collect_and_control/advanced.d.ts
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,4 @@ | ||
declare module "arena/season_beta/collect_and_control/advanced" { | ||
export * from "arena/season_beta/collect_and_control/advanced/prototypes"; | ||
export * from "arena/season_beta/collect_and_control/advanced/constants"; | ||
} |
8 changes: 8 additions & 0 deletions
8
6545074f7ab4df5263b02568/typings/season_alpha/collect_and_control/advanced/constants.d.ts
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,8 @@ | ||
declare module "arena/season_beta/collect_and_control/advanced/constants" { | ||
export const RESOURCE_SCORE_X = 'score_x'; | ||
export const RESOURCE_SCORE_Y = 'score_y'; | ||
export const RESOURCE_SCORE_Z = 'score_z'; | ||
export const EFFECT_FREEZE = 'freeze'; | ||
export const EFFECT_HEAL = 'heal'; | ||
export const EFFECT_DAMAGE = 'damage'; | ||
} |
15 changes: 15 additions & 0 deletions
15
...4df5263b02568/typings/season_alpha/collect_and_control/advanced/prototypes/area-effect.ts
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,15 @@ | ||
declare module "arena/season_beta/collect_and_control/advanced/prototypes" { | ||
import { GameObject } from "game/prototypes"; | ||
import { EFFECT_FREEZE, EFFECT_DAMAGE, EFFECT_HEAL } from "arena/season_beta/collect_and_control/advanced/constants"; | ||
|
||
type AreaEffectType = | ||
typeof EFFECT_FREEZE | | ||
typeof EFFECT_DAMAGE | | ||
typeof EFFECT_HEAL; | ||
|
||
/** An object that applies an effect of the specified type to all creeps at the same time */ | ||
export class AreaEffect extends GameObject { | ||
/** The effect type */ | ||
readonly effect: AreaEffectType; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...3b02568/typings/season_alpha/collect_and_control/advanced/prototypes/score-collector.d.ts
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,18 @@ | ||
declare module "arena/season_beta/collect_and_control/advanced/prototypes" { | ||
import {GameObject, ResourceType} from "game/prototypes"; | ||
|
||
/** Key game object for this arena. Transfer the corresponding resource to the collector to win the game */ | ||
export class ScoreCollector extends GameObject { | ||
/** Whether you have control over this collector */ | ||
my?: boolean; | ||
|
||
/**The type of the resource this collector accepts */ | ||
resourceType: ResourceType; | ||
|
||
/** Current collected score number of the owner */ | ||
score: number; | ||
|
||
/** Total number of score needed to win instantly */ | ||
scoreTotal: number; | ||
} | ||
} |