NWorld.NEntity.Entity entity; //entity this is visualizing #endregion Fields #region Methods public void Init(NWorld.NEntity.Entity entity) { this.entity = entity; this.transform.localPosition = new Vector3 (entity.X, 0, entity.Y); Link (entity); }
public PlayerManager Init(NWorld.World world,int x,int y) { this.entity = new NWorld.NEntity.Entity (x,y); world.AddEntity (entity); return this; }
public void H_EntityAdded(NWorld.World world, NWorld.NEntity.Entity entity) { visualEntity.Display(entity); }