摘要: /// <summary> ///组合模式 Composite Pattern /// geovindu,Geovin Du edit /// /// </summary> interface IEmployee { /// <summary> /// To set an employee name 阅读全文
posted @ 2022-10-06 16:39 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要: /// <summary> /// The 'Flyweight' interface ///享元模式 Flyweight Pattern /// geovindu,Geovin Du edit /// 车辆 /// </summary> interface IVehicle { /* * Clie 阅读全文
posted @ 2022-10-06 15:43 ®Geovin Du Dream Park™ 阅读(29) 评论(0) 推荐(0)
摘要: # Python 3.9 # 工厂方法模式 Factory Method Pattern from __future__ import annotations from abc import ABC, abstractmethod import pygame # pip install pygame 阅读全文
posted @ 2022-10-06 13:37 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)