Write() method of Battelfield

implementation of write method
Editing Switch in battelfield()

I've trasformed the String in char in the switch