示例#1
0
 public ComponentFactory(ContentManager content)
 {
     Instance     = this;
     this.content = content;
     LoadAll();
 }
示例#2
0
 public void CreateWeapon(byte netId, byte weaponId)
 {
     ComponentFactory.CreateWeapon(netId, weaponId);
 }
示例#3
0
 public void CreateBullet(byte id)
 {
     ComponentFactory.CreatePreparedBullet(id);
 }
示例#4
0
 public void CreateNetPlayer(byte netId, string name)
 {
     ComponentFactory.CreateNetPlayer(netId, name);
 }