策略模式(Strategy Pattern). 假設你已經創造一個遊戲 裡面有一個角色是一個劍士 class SwordsMan{ private String name; ...
givemepass.blogspot.com