case Constants.UNIT_TYPE_INFANTRY:
                var img=document.getElementById("infantry_"+this.color);
                ctx.drawImage(img,cx-img.width*.5,cy - img.height*.5);
                break;