~starkingdoms/starkingdoms

ref: 42e744a2ddba94f4b64dfb3af3b495d3b97186f4 starkingdoms/protocol/src/pbuf/planet.proto -rw-r--r-- 406 bytes
42e744a2 — ghostlyzsh yay we have thrusters oh wait did i forget to push landing thruster handling (yes, yes i did) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
syntax = "proto3";
package protocol.planet;

message Planet {
  PlanetType planet_type = 1;  // Type of the planet
  double x = 2;          // Translation on the X axis, in game units
  double y = 3;          // Translation on the Y axis, in game units
  double radius = 4;     // The radius of the planet extending out from (x, y)
}

enum PlanetType {
  UNKNOWN = 0;
  Earth = 1;
  Moon = 2;
  Mars = 3;
}