Added an abstract method to draw visual effect.