public RobotEntity(SceneNode parentNode, SceneManager parentSceneManager) { _parentSceneManager = parentSceneManager; _parentNode = parentNode; _nodeName = _rootNodeName + RobotEntity.__currentId; _name = _rootName + RobotEntity.__currentId; RobotEntity.IncrementCurrentId(); InitializeNode(); }
public RobotEntity(SceneNode parentNode, SceneManager parentSceneManager, Vector3 vector) { _parentSceneManager = parentSceneManager; _parentNode = parentNode; _nodeName = _rootNodeName + RobotEntity.__currentId; _name = _rootName + RobotEntity.__currentId; RobotEntity.IncrementCurrentId(); InitializeNode(); this.Node.Translate(vector); }