예제 #1
0
 static GameModeExtensions()
 {
     // Explorer
     Details[0] = new GameModeDetails()
     {
         CanFly = false, CanPlace = false, CanBreak = false, HasInfiniteItems = false, CanHaveItems = true, FancyBlockEditor = false, FastBreak = false
     };
     // Survivor
     Details[1] = new GameModeDetails()
     {
         CanFly = false, CanPlace = true, CanBreak = true, HasInfiniteItems = false, CanHaveItems = true, FancyBlockEditor = false, FastBreak = false
     };
     // Simple Builder
     Details[2] = new GameModeDetails()
     {
         CanFly = true, CanPlace = true, CanBreak = true, HasInfiniteItems = true, CanHaveItems = true, FancyBlockEditor = false, FastBreak = true
     };
     // Builder
     Details[3] = new GameModeDetails()
     {
         CanFly = true, CanPlace = true, CanBreak = true, HasInfiniteItems = true, CanHaveItems = true, FancyBlockEditor = true, FastBreak = true
     };
     // Spectator
     Details[4] = new GameModeDetails()
     {
         CanFly = true, CanPlace = false, CanBreak = false, HasInfiniteItems = false, CanHaveItems = false, FancyBlockEditor = false, FastBreak = false
     };
 }
예제 #2
0
 static GameModeExtensions()
 {
     // Explorer
     Details[0] = new GameModeDetails() { CanFly = false, CanPlace = false, CanBreak = false, HasInfiniteItems = false, CanHaveItems = true, FancyBlockEditor = false, FastBreak = false };
     // Survivor
     Details[1] = new GameModeDetails() { CanFly = false, CanPlace = true, CanBreak = true, HasInfiniteItems = false, CanHaveItems = true, FancyBlockEditor = false, FastBreak = false };
     // Simple Builder
     Details[2] = new GameModeDetails() { CanFly = true, CanPlace = true, CanBreak = true, HasInfiniteItems = true, CanHaveItems = true, FancyBlockEditor = false, FastBreak = true };
     // Builder
     Details[3] = new GameModeDetails() { CanFly = true, CanPlace = true, CanBreak = true, HasInfiniteItems = true, CanHaveItems = true, FancyBlockEditor = true, FastBreak = true };
     // Spectator
     Details[4] = new GameModeDetails() { CanFly = true, CanPlace = false, CanBreak = false, HasInfiniteItems = false, CanHaveItems = false, FancyBlockEditor = false, FastBreak = false };
 }