Open-Block / OpenBlock

A free open source Block based development template
0 stars 0 forks source link

Abstract calling pt1 #9

Open mosemister opened 4 years ago

mosemister commented 4 years ago

After a user creates a instance of something, there needs to be a way of calling methods from that object. Maybe a ValueBlock which has parameters (if needed) and then also attachable?

mosemister commented 4 years ago

Take a look at the following for assiting development

LinkBlock: https://github.com/Open-Block/OpenBlock/blob/d4422ca1038f186892526d6573bbe38825948f4a/src/main/java/org/block/panel/block/Block.java#L18

CalledBlock: https://github.com/Open-Block/OpenBlock/blob/d4422ca1038f186892526d6573bbe38825948f4a/src/main/java/org/block/panel/block/Block.java#L135