Uses of Class
ch.ladestation.connectncharge.model.game.gamelogic.Edge
Packages that use Edge
Package
Description
contains the main controller of the app (ApplicationController) and many less important ones in sub-packages.
contains model classes of the main game.
contains necessary classes to interact with the hardware.
-
Uses of Edge in ch.ladestation.connectncharge.controller
Methods in ch.ladestation.connectncharge.controller with parameters of type EdgeModifier and TypeMethodDescriptionstatic boolean
ApplicationController.allTerminalsConnected
(Edge[] activatedEdges, Node[] terminals) void
ApplicationController.edgePressed
(Edge edge) This method is called byGamePUI
every time an edge is pressed.static boolean
This method checks if the edge array has a cycle.void
ApplicationController.setSolution
(Edge[] edges) This method sets the attribute solution.void
ApplicationController.setTippEdge
(Edge edge) static int
ApplicationController.sumEdgeCost
(Edge[] arr) Method parameters in ch.ladestation.connectncharge.controller with type arguments of type EdgeModifier and TypeMethodDescriptionstatic int
ApplicationController.sumEdgeCost
(ObservableArray<Edge> arr) -
Uses of Edge in ch.ladestation.connectncharge.model.game.gamelogic
Fields in ch.ladestation.connectncharge.model.game.gamelogic declared as EdgeFields in ch.ladestation.connectncharge.model.game.gamelogic with type parameters of type EdgeModifier and TypeFieldDescriptionfinal ObservableArray<Edge>
Game.activatedEdges
final ObservableArray<Edge>
Game.solution
Methods in ch.ladestation.connectncharge.model.game.gamelogic with parameters of type EdgeModifier and TypeMethodDescriptionprotected static boolean
Segment.activeEdgesContains
(Edge edge) Method parameters in ch.ladestation.connectncharge.model.game.gamelogic with type arguments of type EdgeModifier and TypeMethodDescriptionstatic void
Segment.setActiveEdgesRef
(ObservableArray<Edge> ref) -
Uses of Edge in ch.ladestation.connectncharge.pui
Methods in ch.ladestation.connectncharge.pui that return EdgeModifier and TypeMethodDescriptionLEDAnimation.getAssociatedEdge()
GamePUI.lookUpChipAndPinNumberToEdge
(int chipNo, int pinNo) GamePUI.lookUpEdge
(int fromIndex, int toIndex) Methods in ch.ladestation.connectncharge.pui that return types with arguments of type EdgeMethods in ch.ladestation.connectncharge.pui with parameters of type EdgeModifier and TypeMethodDescriptionvoid
LEDAnimator.scheduleEdgesToBeAnimated
(Edge[] oldValues, Edge[] newValues) Method parameters in ch.ladestation.connectncharge.pui with type arguments of type EdgeModifier and TypeMethodDescriptionvoid
LEDAnimator.instantiateAnims
(List<Edge> newList, boolean dissappear) Constructors in ch.ladestation.connectncharge.pui with parameters of type EdgeModifierConstructorDescriptionLEDAnimation
(Edge associatedEdge, boolean disappear) SwipeLEDAnimation
(Edge associatedEdge, boolean dissappear) WipeFromCenterAnimation
(Edge associatedEdge, boolean disappear)