put draw tank function in tank class