Added states to Advanced2D::Entity class