예제 #1
0
 public KickerDeviceCoil(Player player, KickerCoil coil, KickerApi api) : base(player)
 {
     Coil       = coil;
     _kickerApi = api;
     OnEnable   = Kick;
 }
예제 #2
0
        public void RegisterKicker(Kicker kicker, Entity entity, GameObject go)
        {
            var kickerApi = new KickerApi(kicker, entity, this);

            _tableApi.Kickers[kicker.Name] = kickerApi;
        }