public CannonStub(GameScreen scrn, FPoint pos, float scale) : base(scrn, GDConstants.ORDER_GAME_CANNON) { Center = pos; Scale = scale; Rotation = 0f; CannonType = CannonStubType.Bullet; CannonFrac = CannonStubFraction.N0; }
public CannonStub(GameScreen scrn, SCCMLevelElement dat) : base(scrn, GDConstants.ORDER_GAME_CANNON) { Center = dat.Cannon_Center; Scale = dat.Cannon_Scale; Rotation = dat.Cannon_Rotation; CannonType = dat.Cannon_CannonType; CannonFrac = dat.Cannon_CannonFrac; }
private void ChangeCannonType() { CannonType = (CannonStubType)(((int)CannonType + 1) % 6); }