Enemy cannon

Does this also works for a 2d game?