mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Add team death match support #33
This commit is contained in:
1 parent
d194e29ff7
commit
525fa8b87e
13 files changed
+565
-65
No files matched your search
@@ -37,6 +37,7 @@ pub trait ConfigProvider<C: Clone> {
|
||||
fn energy(&self) -> EnergyConfig;
|
||||
fn ba_settings(&self) -> BattleArenaResolver;
|
||||
fn pit_settings(&self) -> PitSettings;
|
||||
fn tdm_settings(&self) -> TeamDeathMatchSettings;
|
||||
}
|
||||
|
||||
pub struct CompleteCampaignProvider {
|
||||
@@ -445,3 +446,9 @@ pub enum PitWinCondition {
|
||||
Damage(u32),
|
||||
Time,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct TeamDeathMatchSettings {
|
||||
pub respawn_time_seconds: u64,
|
||||
pub self_destruct_is_kill: bool,
|
||||
}
|
||||
Reference in new issue
Block a user