protected Actor(String name, String color, MoveDirection initialDirection, Home homeActor) { this.Name = name; this.color = color; this.PosX = homeActor.PosX; this.PosY = homeActor.PosY; this.Direction = initialDirection; this.home = homeActor; }
public TimeManagementObjectModelInteractionListener(XrtiExecutiveAmbassador aRti, ILogicalTimeFactory aTimeFactory, Home home, ILogicalTimeInterval moveActorInterval, TimeManagementForm form, TimeManagementSimulation simulation) { this.rti = aRti; this.timeFactory = aTimeFactory; this.home = home; this.moveActorInterval = moveActorInterval; this.form = form; this.simulation = simulation; }
public void SetTarget(Home target) { lock (this) { this.target = target; item1 = new Item(ItemType.Goal, target.PosX, target.PosY); DrawChanges(Actor.MoveDirection.Up); // TODO: chapuza } }
public static Actor NewActor(String name, String color, MoveDirection initialDirection, Home homeActor) { return (Actor)NewInstance(myCallType, name, color, initialDirection, homeActor); }