当显示机枪兵状态时,绘制工厂会判断机枪兵实例是否已经存在了如果存在了就直接返回
//如果把static private $flyweights;//改为private $flyweights;//对应的self::改成$this为什么不行呢???
getFlyweight("Marine");//绘制一个机枪兵$status = "我还有3滴血!";$marine->drawMarine($status);//机枪兵某一个状态显示$marine = $flyweightFactory->getFlyweight("Marine");//绘制一个机枪兵$status = "我还有2滴血!";$marine->drawMarine($status);//机枪兵某一个状态显示?>