个人开发的国际象棋源代码

源代码在线查看: chessmessage.java

软件大小: 1334 K
上传用户: NJ_WK
关键词: 国际 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				package org.acerge.message.impl;
				
				import org.acerge.message.Header;
				import org.acerge.message.Message;
				
				public class ChessMessage implements Message{
					private boolean local;
					private Object body;
					private Header header;
					public ChessMessage(Header header,Object body,boolean local){
						this.header=header;
						this.body=body;
						this.local=local;
					}
					public boolean isLocalMessage() {
						return local;
					}
					public Header getMessageHeader() {
						return header;
					}
					public void setMessageHeader(Header header) {
						this.header=header;
					}
					public Object getMessageBody() {
						return body;
					}
					public void setMessageBody(Object body) {
						this.body=body;
					}
				}
							

相关资源