/** * Update an emotional point's position in game-space.4 * @param int id - Melodrives ID for the point * @param float x - the x co-ord * @param float y - the y co-ord */ public void SetEmotionalPointPosition(EmotionalPoint ep) { int id = ep.GetID(); Vector2 pos = ep.Get2DPosition(); md_setEmotionalPointPosition(id, pos.x, pos.y); }
/** * Updates an emotional points emotion * @param int id - Melodrive's ID for the point * @param Emotion emotion - the new emotion */ public void SetEmotionAtPoint(EmotionalPoint ep) { SetEmotionAtPoint(ep.GetID(), ep.emotion); }
/** * Remove an emotional point from Melodrive. * @param int id - the id of the point to remove */ public void RemoveEmotionalPoint(EmotionalPoint ep) { RemoveEmotionalPoint(ep.GetID()); }