Esempio n. 1
0
        public void RegisterRubber(Rubber rubber, Entity entity, GameObject go)
        {
            var rubberApi = new RubberApi(rubber, entity, this);

            _tableApi.Rubbers[rubber.Name] = rubberApi;
            _initializables.Add(rubberApi);
            _hittables[entity] = rubberApi;
        }
Esempio n. 2
0
 public RubberColliderGenerator(RubberApi rubberApi, RubberMeshGenerator meshGenerator)
 {
     _api           = rubberApi;
     _meshGenerator = meshGenerator;
 }