private Actor CreateBomb() { Bomb bomb = new Bomb(m_CollisionDetection); GameObject go = new GameObject("Bomb"); go.transform.localScale *= VIEW_SCALE_FACTOR; BombView view = go.AddComponent <BombView>(); view.Init(bomb); return(bomb); }
public Bomb(BombData data, BombView view) { Data = data; View = view; }
public SpawnBombSignal(BombView view, BombData data, Vector3 position) { View = view; Data = data; Position = position; }