Skip to content

Commit

Permalink
✨ season beta capture the flag basic
Browse files Browse the repository at this point in the history
  • Loading branch information
o4kapuk committed Mar 28, 2024
1 parent 53335de commit ee11558
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module "arena/season_beta/capture_the_flag/basic" {
export * from "arena/season_beta/capture_the_flag/basic/prototypes";
export * from "arena/season_beta/capture_the_flag/basic/constants";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
declare module "arena/season_beta/capture_the_flag/basic/prototypes" {
import {BodyPartType, GameObject} from "game/prototypes";

/** A separate part of creep body */
export class BodyPart extends GameObject {

/** The type of the body part */
readonly type: BodyPartType;

/** The number of ticks until this object disappears */
readonly ticksToDecay: number;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
declare module "arena/season_beta/capture_the_flag/basic/prototypes" {
import {GameObject} from "game/prototypes";

/** A flag is a key game object for this arena. Capture all flags to win the game */
export class Flag extends GameObject {
/** Equals to true or false if the flag is owned. Returns undefined if it is neutral */
readonly my?: boolean
}
}

0 comments on commit ee11558

Please sign in to comment.